diff --git a/log/hook.go b/log/hook.go index fecd1799..bcfa3d59 100644 --- a/log/hook.go +++ b/log/hook.go @@ -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