add info about logging to getting started section

This commit is contained in:
Jannes Höke 2016-02-07 22:25:16 +01:00
parent eac3d8842d
commit f5a1e00af9

View file

@ -165,6 +165,14 @@ _`Getting started`
View the last release API documentation at: https://core.telegram.org/bots/api
This library uses the `logging` module. To set up logging to standard output, put::
import logging
logging.basicConfig(level=logging.DEBUG,
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
at the beginning of your script.
--------------------
_`The Updater class`
--------------------