diff options
Diffstat (limited to 'plugins/logger')
-rw-r--r-- | plugins/logger/config.go | 3 | ||||
-rw-r--r-- | plugins/logger/encoder.go | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/logger/config.go b/plugins/logger/config.go index 9248eb3a..f7a5742c 100644 --- a/plugins/logger/config.go +++ b/plugins/logger/config.go @@ -1,9 +1,10 @@ package logger import ( + "strings" + "go.uber.org/zap" "go.uber.org/zap/zapcore" - "strings" ) // ChannelConfig configures loggers per channel. diff --git a/plugins/logger/encoder.go b/plugins/logger/encoder.go index 30ae2400..66cd84f1 100644 --- a/plugins/logger/encoder.go +++ b/plugins/logger/encoder.go @@ -1,11 +1,12 @@ package logger import ( - "github.com/fatih/color" - "go.uber.org/zap/zapcore" "hash/fnv" "strings" "time" + + "github.com/fatih/color" + "go.uber.org/zap/zapcore" ) var colorMap = []func(string, ...interface{}) string{ |