Mario Cormier

Results 3 comments of Mario Cormier

> Also, if you do `log.Info().Int("level", 1234).Msg("test")` you should end up with a message like `{"level": "info", "level": 1234, "msg": "test"}`. I'm not sure what the ConsoleWriter would show in...

> But `.Int("level", 1234)` is not the way how you set the logging level. Use `.WithLevel(123)` if you want to do numeric levels. Do note it is just int8. I...

That would reduce the risk, but it assumes that no one uses or ever will use that as a field name, which is difficult to enforce. Just in the one...