Remove right-adjust from logging example docs (#4461)

Only works with %-style formatting, but not in the logging module.
This commit is contained in:
Mohsen 2024-09-11 22:24:59 +03:30 committed by GitHub
parent d37b0f812f
commit a9442ef1be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ For that, you can use **events**.
.. code-block:: python .. code-block:: python
import logging import logging
logging.basicConfig(format='[%(levelname) 5s/%(asctime)s] %(name)s: %(message)s', logging.basicConfig(format='[%(levelname) %(asctime)s] %(name)s: %(message)s',
level=logging.WARNING) level=logging.WARNING)