rs / zerolog

Zero Allocation JSON Logger
MIT License
10.41k stars 567 forks source link

ConsoleWriter: Show original level message if it's not predefined value. #476

Closed yfuruyama closed 2 years ago

yfuruyama commented 2 years ago

Currently ConsoleWriter shows ??? when the level doesn't match with any predefined values, but it would be better to show the original value instead of ??? because level could be changed by user with zerolog.LevelFieldMarshalFunc.