charmbracelet / charmbracelet/log

Give a different style to `Message` part depending on log level

Open
#154 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
3.4k
Forks
103
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

Specifically to give a different color to the `Message` part depending on log level. Why not being able to completely have a style for `Message` depending on log level ?

**Describe the solution you'd like**

A map for `Message` would be breaking change so it's not that good. Maybe we could have a new property ? But it could be ugly in a way of two properties can change the `Message` style ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.