diff options
Diffstat (limited to 'workhorse/internal/log/logging.go')
-rw-r--r-- | workhorse/internal/log/logging.go | 10 |
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...) } |