Versions in this module Expand all Collapse all v0 v0.8.14 Sep 15, 2021 Changes in this version + const LogFormatJSON + const LogFormatPlain + const LogFormatText + const LogLevelDebug + const LogLevelError + const LogLevelInfo + const LogLevelWarn + type Logger interface + Debug func(msg string, keyVals ...interface{}) + Error func(msg string, keyVals ...interface{}) + Info func(msg string, keyVals ...interface{}) + With func(keyVals ...interface{}) Logger + func MustNewDefaultLogger(format, level string, trace bool) Logger + func NewDefaultLogger(format, level string, trace bool) (Logger, error) + func NewNopLogger() Logger + func TestingLogger() Logger + func TestingLoggerWithOutput(w io.Writer) Logger