Documentation ¶
Index ¶
- func Debug(msg string, fields ...zap.Field)
- func Errof(err error)
- func Error(msg string, fields ...zap.Field)
- func Extract() *zap.Logger
- func Info(msg string, fields ...zap.Field)
- func NewDebugLogger() *zap.Logger
- func Panic(msg string, fields ...zap.Field)
- func ReplaceLogger(logger *zap.Logger)
- func Warn(msg string, fields ...zap.Field)
- type IBaseLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDebugLogger ¶
func ReplaceLogger ¶
Types ¶
type IBaseLogger ¶ added in v1.1.0
type IBaseLogger interface { Info(msg string, fields ...zap.Field) Warn(msg string, fields ...zap.Field) Error(msg string, fields ...zap.Field) Debug(msg string, fields ...zap.Field) Panic(msg string, fields ...zap.Field) }
func NewTrace ¶ added in v1.1.0
func NewTrace(defaultFields ...zap.Field) IBaseLogger
Click to show internal directories.
Click to hide internal directories.