aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/couchbase/goutils/logging/logger.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/couchbase/goutils/logging/logger.go')
-rw-r--r--vendor/github.com/couchbase/goutils/logging/logger.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/couchbase/goutils/logging/logger.go b/vendor/github.com/couchbase/goutils/logging/logger.go
index b9948f9b2e..ab854635bf 100644
--- a/vendor/github.com/couchbase/goutils/logging/logger.go
+++ b/vendor/github.com/couchbase/goutils/logging/logger.go
@@ -36,6 +36,7 @@ const (
TEXTFORMATTER = LogEntryFormatter(iota)
JSONFORMATTER
KVFORMATTER
+ UNIFORMFORMATTER
)
func (level Level) String() string {
@@ -476,6 +477,6 @@ func Stackf(level Level, fmt string, args ...interface{}) {
}
func init() {
- logger = NewLogger(os.Stderr, INFO, TEXTFORMATTER)
+ logger := NewLogger(os.Stderr, INFO, TEXTFORMATTER)
SetLogger(logger)
}