Documentation ¶
Index ¶
- Variables
- type External
- type Logger
- func (l *Logger) Debug(msg string, args ...any)
- func (l *Logger) DebugFunc(f func() (string, []any))
- func (l *Logger) Error(msg string, args ...any)
- func (l *Logger) ErrorFunc(f func() (string, []any))
- func (l *Logger) Info(msg string, args ...any)
- func (l *Logger) InfoFunc(f func() (string, []any))
- func (l *Logger) Level(lvl int)
- func (l *Logger) Trace(msg string, args ...any)
- func (l *Logger) TraceFunc(f func() (string, []any))
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidLevel = errors.New("invalid log level")
)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.