Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'workhorse/internal/log/logging.go')
-rw-r--r--workhorse/internal/log/logging.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/workhorse/internal/log/logging.go b/workhorse/internal/log/logging.go
index c65ec07743a..ae7164db920 100644
--- a/workhorse/internal/log/logging.go
+++ b/workhorse/internal/log/logging.go
@@ -8,7 +8,7 @@ import (
"gitlab.com/gitlab-org/labkit/mask"
"golang.org/x/net/context"
- "gitlab.com/gitlab-org/gitlab-workhorse/internal/helper"
+ "gitlab.com/gitlab-org/gitlab/workhorse/internal/helper"
)
type Fields = log.Fields
@@ -67,6 +67,14 @@ func (b *Builder) WithError(err error) *Builder {
return b
}
+func Debug(args ...interface{}) {
+ NewBuilder().Debug(args...)
+}
+
+func (b *Builder) Debug(args ...interface{}) {
+ b.entry.Debug(args...)
+}
+
func Info(args ...interface{}) {
NewBuilder().Info(args...)
}