From 445436bff7153fc3c0f8c90edef0e8136c08d9a4 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Mon, 20 Aug 2018 01:06:10 +0100 Subject: [PATCH] =?UTF-8?q?Ensure=20=E2=80=98warn=E2=80=99=20log=20level?= =?UTF-8?q?=20works=20correctly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- log/hook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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