2022-12-19 14:37:40 +00:00
|
|
|
---
|
|
|
|
title: "How do I render console markup in RichHandler?"
|
|
|
|
alt_titles:
|
|
|
|
- "Color is not applied during logging."
|
|
|
|
- "Style tags don't work with logging handler"
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2022-12-22 20:11:17 +00:00
|
|
|
Console markup won't work anywhere else, other than `RichHandler` -- which is why they are disabled by default.
|
2022-12-19 14:37:40 +00:00
|
|
|
|
|
|
|
See the docs if you want to [enable console markup](https://rich.readthedocs.io/en/latest/logging.html#logging-handler) in the logging handler.
|