This commit is contained in:
Will McGugan 2020-03-27 09:03:22 +00:00
parent 31befa037c
commit c8a5fb6a25
1 changed files with 2 additions and 3 deletions

View File

@ -16,8 +16,7 @@ class RichHandler(Handler):
"""A logging handler that renders output with Rich. The time / level / message and file are displayed in columns. The """A logging handler that renders output with Rich. The time / level / message and file are displayed in columns. The
level is color coded, and the message is syntax highlighted. level is color coded, and the message is syntax highlighted.
Example:: Example:
import logging import logging
from rich.logging import RichHandler from rich.logging import RichHandler
FORMAT = "%(message)s" FORMAT = "%(message)s"