Skip to content

Consider changing the MaxWidth in DefaultStyles from 4 to 5 #164

@FollowTheProcess

Description

@FollowTheProcess

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 👍🏻

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions