Add documentation

This commit is contained in:
Joe Halliwell 2021-12-12 11:17:48 +00:00
parent 64b921727d
commit 23daac5d01
1 changed files with 5 additions and 1 deletions

View File

@ -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
------------------- -------------------