Debian Codegraph @

questions/logging_color.question.md

raw
1 ---
2 title: "How do I render console markup in RichHandler?"
3 alt_titles:
4 - "Color is not applied during logging."
5 - "Style tags don't work with logging handler"
6
7 ---
8
9 Console markup won't work anywhere else, other than `RichHandler` -- which is why they are disabled by default.
10
11 See the docs if you want to [enable console markup](https://rich.readthedocs.io/en/latest/logging.html#logging-handler) in the logging handler.