Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LevelMap = map[Level]logrus.Level{ LevelTrace: logrus.TraceLevel, LevelDebug: logrus.DebugLevel, LevelInfo: logrus.InfoLevel, LevelWarn: logrus.WarnLevel, LevelError: logrus.ErrorLevel, }
View Source
var ValidFormatStrings = []string{ string(FormatJSON), string(FormatText), }
View Source
var ValidLevelStrings = []string{ string(LevelTrace), string(LevelDebug), string(LevelInfo), string(LevelWarn), string(LevelError), }
View Source
var WithField, WithFields = logger.WithField, logger.WithFields
Functions ¶
Types ¶
type Logf ¶
type Logf func(s string, l ...interface{})
Log defines the function signature of the logger when called with format parameters
Click to show internal directories.
Click to hide internal directories.