Merge pull request #972 from carltongibson/patch-1

Corrected typo in Logging Handler docs.
This commit is contained in:
Will McGugan 2021-01-29 09:31:35 +00:00 committed by GitHub
commit 6e5eea4b9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ Rich logs won't render :ref:`console_markup` in logging by default as most libra
Handle exceptions
-------------------
The :class:`~rich.logging.RichHandler` class may be configured to ues Rich's :class:`~rich.traceback.Traceback` class to format exceptions, which provides more context than a builtin exception. To get beautiful exceptions in your logs set ``rich_tracebacks=True`` on the handler constructor::
The :class:`~rich.logging.RichHandler` class may be configured to use Rich's :class:`~rich.traceback.Traceback` class to format exceptions, which provides more context than a builtin exception. To get beautiful exceptions in your logs set ``rich_tracebacks=True`` on the handler constructor::
import logging