Skip to content

Configurable log level colors and coloring of custom log levels #8803

@terjr

Description

@terjr

When using custom log levels, I would like to be able to color them as I like in my cli. In other words, make this:
no_pride
turn into this (note the coloring of TRACE and SPAM log levels):
pride

As a bonus, you can also redefine default coloring options to whatever you like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin: loggingrelated to the logging builtin plugintopic: reportingrelated to terminal output and user-facing messages and errorstype: proposalproposal for a new feature, often to gather opinions or design the API around the new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions