Commit 75043028 authored by Vinay Sajip's avatar Vinay Sajip

Logging documentation update.

parent cca5be2e
...@@ -564,8 +564,9 @@ Programmers can configure logging in three ways: ...@@ -564,8 +564,9 @@ Programmers can configure logging in three ways:
3. Creating a dictionary of configuration information and passing it 3. Creating a dictionary of configuration information and passing it
to the :func:`dictConfig` function. to the :func:`dictConfig` function.
The following example configures a very simple logger, a console For the reference documentation on the last two options, see :ref:`config-ref`.
handler, and a simple formatter using Python code:: The following example configures a very simple logger, a console handler, and
a simple formatter using Python code::
import logging import logging
...@@ -3761,6 +3762,8 @@ with the :mod:`warnings` module. ...@@ -3761,6 +3762,8 @@ with the :mod:`warnings` module.
(i.e. those in effect before `captureWarnings(True)` was called). (i.e. those in effect before `captureWarnings(True)` was called).
.. _config-ref:
Configuration Configuration
------------- -------------
......
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