Ensure ‘warn’ log level works correctly
This commit is contained in:
parent
a3787ad274
commit
445436bff7
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ func (h *DefaultHook) SetLevel(v string) {
|
|||
h.l = DebugLevels
|
||||
case "info":
|
||||
h.l = InfoLevels
|
||||
case "warning":
|
||||
case "warn":
|
||||
h.l = WarnLevels
|
||||
case "error":
|
||||
h.l = ErrorLevels
|
||||
|
|
Loading…
Reference in a new issue