Ensure ‘warn’ log level works correctly

This commit is contained in:
Tobie Morgan Hitchcock 2018-08-20 01:06:10 +01:00
parent a3787ad274
commit 445436bff7

View file

@ -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