Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var LogLevelMapping = map[string]zapcore.Level{ DebugLevel: zap.DebugLevel, InfoLevel: zap.InfoLevel, WarnLevel: zap.WarnLevel, ErrorLevel: zap.ErrorLevel, FatalLevel: zap.FatalLevel, }
Functions ¶
func NewLogger ¶
func NewLogger(options LoggerOptions) (*zap.SugaredLogger, error)
NewLogger creates a new Logger instance
Types ¶
Click to show internal directories.
Click to hide internal directories.