From 55aaf043cf4d84249a6d2344ef18d82279d08955 Mon Sep 17 00:00:00 2001 From: Yuki Furuyama Date: Sun, 18 Sep 2022 23:53:56 +0900 Subject: [PATCH] Show original level message if it's not predefined value. (#476) --- console.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console.go b/console.go index ac34b7e..9f6ffbf 100644 --- a/console.go +++ b/console.go @@ -385,7 +385,7 @@ func consoleDefaultFormatLevel(noColor bool) Formatter { case LevelPanicValue: l = colorize(colorize("PNC", colorRed, noColor), colorBold, noColor) default: - l = colorize("???", colorBold, noColor) + l = colorize(ll, colorBold, noColor) } } else { if i == nil {