diff --git a/README.rst b/README.rst index 2624b83b2..0bc9c52b5 100644 --- a/README.rst +++ b/README.rst @@ -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` --------------------