From a3c808e97f98f589f020f1270f220ead5bfc90e3 Mon Sep 17 00:00:00 2001 From: tidwall Date: Fri, 1 Oct 2021 07:45:37 -0700 Subject: [PATCH] Increase verbosity for warning messages --- internal/log/log.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/log/log.go b/internal/log/log.go index 8afb3df0..b94c9b41 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -112,14 +112,14 @@ func Error(args ...interface{}) { // Warnf ... func Warnf(format string, args ...interface{}) { - if Level >= 2 { + if Level >= 1 { log(2, "WARN", "\x1b[33m", true, format, args...) } } // Warn ... func Warn(args ...interface{}) { - if Level >= 2 { + if Level >= 1 { log(2, "WARN", "\x1b[33m", false, emptyFormat, args...) } }