mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-16 18:16:39 +00:00
Remove right-adjust from logging example docs (#4461)
Only works with %-style formatting, but not in the logging module.
This commit is contained in:
parent
d37b0f812f
commit
a9442ef1be
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user