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
|
h.l = DebugLevels
|
||||||
case "info":
|
case "info":
|
||||||
h.l = InfoLevels
|
h.l = InfoLevels
|
||||||
case "warning":
|
case "warn":
|
||||||
h.l = WarnLevels
|
h.l = WarnLevels
|
||||||
case "error":
|
case "error":
|
||||||
h.l = ErrorLevels
|
h.l = ErrorLevels
|
||||||
|
|
Loading…
Reference in a new issue