mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-12 17:12:23 +03:00
Fixed typo in logging messages in FAQ section
This commit is contained in:
parent
3f589b287d
commit
33c23e6e1b
|
@ -20,7 +20,7 @@ To enable logging, at the following code to the top of your main file:
|
||||||
.. 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)
|
||||||
|
|
||||||
You can change the logging level to be something different, from less to more information:
|
You can change the logging level to be something different, from less to more information:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user