Skip to content

Commit

Permalink
Show original level message if it's not predefined value. (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
yfuruyama committed Sep 18, 2022
1 parent 315967f commit 55aaf04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 55aaf04

Please sign in to comment.