Kaydet (Commit) 0504532c authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Mention logging.captureWarnings in the warnings module doc.

üst 73705902
......@@ -39,6 +39,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