ax(logging): add missing function name to GetLevel doc comment
Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
parent
d44cfa3790
commit
3b077dd00d
1 changed files with 1 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ func (l *Logger) SetLevel(level Level) {
|
|||
l.level = level
|
||||
}
|
||||
|
||||
// GetLevel returns the current minimum log level.
|
||||
// current := logger.GetLevel()
|
||||
// if current == logging.LevelDebug { logger.SetLevel(logging.LevelInfo) }
|
||||
func (l *Logger) GetLevel() Level {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue