Documentation
¶
Index ¶
- Variables
- 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 Init(cfg *LogConfig, mode string) (err error)
- func Panic(msg string, fields ...zap.Field)
- func Sync()
- func Warn(msg string, fields ...zap.Field)
- type LogConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Lg *zap.Logger
)
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.