Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MoreInfo = AdditionalFieldsFrom
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
Info func(msg string, fields ...zap.Field)
Debug func(msg string, fields ...zap.Field)
Warn func(msg string, fields ...zap.Field)
Error func(msg string, fields ...zap.Field)
Infof func(format string, a ...any)
Debugf func(format string, a ...any)
Warnf func(format string, a ...any)
Errorf func(format string, a ...any)
// contains filtered or unexported fields
}
Logger is a custom logger that wraps zap.Logger
func NewRotatingFileLogger ¶
func (*Logger) CorrelationLogger ¶
Correlation Logger
Click to show internal directories.
Click to hide internal directories.