Documentation ¶
Index ¶
- func DPanic(message string, fields ...zap.Field)
- func Debug(message string, fields ...zap.Field)
- func Error(message string, fields ...zap.Field)
- func Fatal(message string, fields ...zap.Field)
- func Info(message string, fields ...zap.Field)
- func InitLogger(opts ...zaplog.ConfigOption) error
- func NewLogger(opts ...zaplog.ConfigOption) (*zap.Logger, string, error)
- func Panic(message string, fields ...zap.Field)
- func SetBeforeLogHandler(handler func() []zap.Field)
- func SetLogLevel(level string) error
- func Sync() error
- func Warn(message string, fields ...zap.Field)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger(opts ...zaplog.ConfigOption) error
func SetBeforeLogHandler ¶
func SetLogLevel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.