Documentation ¶
Index ¶
- type Logger
- func (l *Logger) Alert(msg any, args ...any)
- func (l *Logger) Crit(msg any, args ...any)
- func (l *Logger) Debug(msg any, args ...any)
- func (l *Logger) Emergency(msg any, args ...any)
- func (l *Logger) Error(msg any, args ...any)
- func (l *Logger) Info(msg any, args ...any)
- func (l *Logger) Notice(msg any, args ...any)
- func (l *Logger) ResetLevel(level LogLevel)
- func (l *Logger) Trace(msg any, args ...any)
- func (l *Logger) Warn(msg any, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func NewLoggerWithOption ¶
func (*Logger) ResetLevel ¶
func (l *Logger) ResetLevel(level LogLevel)
Click to show internal directories.
Click to hide internal directories.