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 GetLogger(opts ...zap.Option) *zap.Logger
- func Info(msg string, fields ...zap.Field)
- func InitLog(opts ...Option) error
- func Panic(msg string, fields ...zap.Field)
- func Sync() error
- func Warn(msg string, fields ...zap.Field)
- type LogConfig
- type Option
Constants ¶
View Source
const ( FormatJSON = "json" FormatText = "text" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.