-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Configurable log level colors and coloring of custom log levels #8803
Copy link
Copy link
Closed
Labels
plugin: loggingrelated to the logging builtin pluginrelated to the logging builtin plugintopic: reportingrelated to terminal output and user-facing messages and errorsrelated 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 featureproposal for a new feature, often to gather opinions or design the API around the new feature
Metadata
Metadata
Assignees
Labels
plugin: loggingrelated to the logging builtin pluginrelated to the logging builtin plugintopic: reportingrelated to terminal output and user-facing messages and errorsrelated 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 featureproposal for a new feature, often to gather opinions or design the API around the new feature
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:


turn into this (note the coloring of TRACE and SPAM log levels):
As a bonus, you can also redefine default coloring options to whatever you like.