-
Notifications
You must be signed in to change notification settings - Fork 87
Description
Is your feature request related to a problem? Please describe.
I wouldn't say a problem, just a minor gripe I have to workaround by setting my own style :)
The logger that log.New creates imposes a maximum width on the level string of 4 which means ERROR and DEBUG get cut off to ERRO and DEBU which I think looks a bit odd?
Personally I tend to define a new Style that is an exact copy of the default styles (defined here) with MaxWidth changed from 4 to 5.
Describe the solution you'd like
I'd like for DefaultStyles to return styles with a max width of 5
Describe alternatives you've considered
Continue my workaround which is fine I guess, just a lot of code for a single change. The rest of the default styles is perfect as is!
Additional context
I'm very happy to do the PR if this change is desired 👍🏻