Show original level message if it's not predefined value. (#476)
This commit is contained in:
parent
315967f32d
commit
55aaf043cf
|
@ -385,7 +385,7 @@ func consoleDefaultFormatLevel(noColor bool) Formatter {
|
||||||
case LevelPanicValue:
|
case LevelPanicValue:
|
||||||
l = colorize(colorize("PNC", colorRed, noColor), colorBold, noColor)
|
l = colorize(colorize("PNC", colorRed, noColor), colorBold, noColor)
|
||||||
default:
|
default:
|
||||||
l = colorize("???", colorBold, noColor)
|
l = colorize(ll, colorBold, noColor)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if i == nil {
|
if i == nil {
|
||||||
|
|
Loading…
Reference in New Issue