Commit cdddf2b8 authored by Antoine Pitrou's avatar Antoine Pitrou

Mention logging.captureWarnings in the warnings module doc.

parent 462d1b39
......@@ -40,6 +40,10 @@ may be overridden; the default implementation of this function formats the
message by calling :func:`formatwarning`, which is also available for use by
custom implementations.
.. seealso::
:func:`logging.captureWarnings` allows you to handle all warnings with
the standard logging infrastructure.
.. _warning-categories:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment