Created Troubleshooting issues (markdown)

Lonami 2017-06-09 17:13:19 +02:00
parent 3c5096c8bd
commit cb836d66b9

17
Troubleshooting-issues.md Normal file

@ -0,0 +1,17 @@
Telethon makes use of the [`logging`](https://docs.python.org/3/library/logging.html) module, and you can enable it as follows:
```python
import logging
logging.basicConfig(level=logging.INFO)
```
You can also use it in your own project very easily:
```python
import logging
logger = logging.getLogger(__name__)
logger.debug('Debug messages')
logger.info('Useful information')
logger.warning('This is a warning!')
```