[Python-checkins] r68479 - python/branches/py3k/Doc/library/logging.rst

vinay.sajip python-checkins at python.org
Sat Jan 10 14:37:26 CET 2009


Author: vinay.sajip
Date: Sat Jan 10 14:37:26 2009
New Revision: 68479

Log:
Minor documentation changes relating to NullHandler, the module used for handlers and references to ConfigParser.

Modified:
   python/branches/py3k/Doc/library/logging.rst

Modified: python/branches/py3k/Doc/library/logging.rst
==============================================================================
--- python/branches/py3k/Doc/library/logging.rst	(original)
+++ python/branches/py3k/Doc/library/logging.rst	Sat Jan 10 14:37:26 2009
@@ -420,6 +420,7 @@
 code approach, mainly separation of configuration and code and the ability of
 noncoders to easily modify the logging properties.
 
+.. _library-config:
 Configuring Logging for a Library
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
@@ -463,6 +464,7 @@
 
 The :class:`NullHandler` class was not present in previous versions, but is now
 included, so that it need not be defined in library code.
+See :ref:`library-config` for more information.
 
 
 
@@ -560,7 +562,8 @@
 #. :class:`NullHandler` instances do nothing with error messages. They are used
    by library developers who want to use logging, but want to avoid the "No
    handlers could be found for logger XXX" message which can be displayed if
-   the library user has not configured logging.
+   the library user has not configured logging. See :ref:`library-config` for
+   more information.
 
 .. versionadded:: 3.1
 
@@ -1608,7 +1611,8 @@
 
       This method does nothing.
 
-
+See :ref:`library-config` for more information on how to use
+:class:`NullHandler`.
 
 WatchedFileHandler
 ^^^^^^^^^^^^^^^^^^


More information about the Python-checkins mailing list