Documentation
¶
Index ¶
- func Debug(msg any)
- func Error(msg any)
- func Info(msg any)
- func ReplaceGlobals(logger *Logger)
- func Warn(msg any)
- type Logger
- func (l *Logger) Debug(msg any, fields ...zap.Field)
- func (l *Logger) Error(msg any, fields ...zap.Field)
- func (l *Logger) File(Dir string, Filename string, Level string, MaxSize int, MaxAge int, ...) *Logger
- func (l *Logger) Info(msg any, fields ...zap.Field)
- func (l *Logger) R() *Logger
- func (l *Logger) SetSkip(skip int) *Logger
- func (l *Logger) Warn(msg any, fields ...zap.Field)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceGlobals ¶
func ReplaceGlobals(logger *Logger)
Types ¶
Click to show internal directories.
Click to hide internal directories.