Documentation ¶
Index ¶
- Constants
- func Debug(msg string, fields ...zap.Field)
- func Error(msg string, fields ...zap.Field)
- func Fatal(msg string, fields ...zap.Field)
- func Info(msg string, fields ...zap.Field)
- func InitLogger(cfg *Config, options ...zap.Option) error
- func NewLogger(cfg *Config, options ...zap.Option) (*zap.Logger, error)
- func Panic(msg string, fields ...zap.Field)
- func Warn(msg string, fields ...zap.Field)
- type Config
Constants ¶
View Source
const ( DebugLevel = iota - 1 InfoLevel WarnLevel ErrorLevel DPanicLevel PanicLevel FatalLevel )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.