mirror of https://github.com/Textualize/rich.git
Add documentation
This commit is contained in:
parent
64b921727d
commit
23daac5d01
|
@ -20,6 +20,10 @@ Rich logs won't render :ref:`console_markup` in logging by default as most libra
|
||||||
|
|
||||||
log.error("[bold red blink]Server is shutting down![/]", extra={"markup": True})
|
log.error("[bold red blink]Server is shutting down![/]", extra={"markup": True})
|
||||||
|
|
||||||
|
Similarly, the highlighter may be overridden per log message::
|
||||||
|
|
||||||
|
log.error("123 will not be highlighted", extra={"highlighter": None})
|
||||||
|
|
||||||
|
|
||||||
Handle exceptions
|
Handle exceptions
|
||||||
-------------------
|
-------------------
|
||||||
|
|
Loading…
Reference in New Issue