Documentation cleanup.

Documented the new way of listening to events as well the new
events that could be listened thanks to the recent refactor.

Also uses the versionadded directive to document when something new
is added to the library.
This commit is contained in:
Rapptz
2015-10-13 05:38:38 -04:00
parent c64420f9d3
commit 1f37fe72f2
2 changed files with 38 additions and 10 deletions

View File

@ -1,3 +1,6 @@
.. versionadded:: 0.6.0
.. _logging_setup:
Setting Up Logging
===================
@ -36,9 +39,7 @@ This is recommended, especially at verbose levels such as ``INFO``,
and ``DEBUG`` as there are a lot of events logged and it would clog the
stdout of your program.
.. note::
The logging facilities were added in version 0.6 of discord.py.
For more information, check the documentation and tutorial of the
`logging`_ module.