Documentation ¶
Index ¶
- type Level
- type Logger
- func (l *Logger) Debug(msg interface{})
- func (l *Logger) Debugf(fmt string, msg interface{})
- func (l *Logger) Error(msg interface{})
- func (l *Logger) Errorf(fmt string, msg ...interface{})
- func (l *Logger) Fatal(msg interface{})
- func (l *Logger) Fatalf(fmt string, msg ...interface{})
- func (l *Logger) Info(msg interface{})
- func (l *Logger) Infof(fmt string, msg ...interface{})
- func (l *Logger) SetLevel(lv Level)
- func (l *Logger) Warning(msg interface{})
- func (l *Logger) Warningf(fmt string, msg interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level uint8
Level represents log levels which are sorted based on the underlying number associated to it.
Click to show internal directories.
Click to hide internal directories.