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