[Python-checkins] r68126 - python/trunk/Doc/library/logging.rst

georg.brandl python-checkins at python.org
Thu Jan 1 14:05:14 CET 2009


Author: georg.brandl
Date: Thu Jan  1 14:05:13 2009
New Revision: 68126

Log:
Handlers are in the `logging.handlers` module.


Modified:
   python/trunk/Doc/library/logging.rst

Modified: python/trunk/Doc/library/logging.rst
==============================================================================
--- python/trunk/Doc/library/logging.rst	(original)
+++ python/trunk/Doc/library/logging.rst	Thu Jan  1 14:05:13 2009
@@ -1559,6 +1559,8 @@
 StreamHandler
 ^^^^^^^^^^^^^
 
+.. module:: logging.handlers
+
 The :class:`StreamHandler` class, located in the core :mod:`logging` package,
 sends logging output to streams such as *sys.stdout*, *sys.stderr* or any
 file-like object (or, more precisely, any object which supports :meth:`write`
@@ -2065,6 +2067,8 @@
 Formatter Objects
 -----------------
 
+.. currentmodule:: logging
+
 :class:`Formatter`\ s have the following attributes and methods. They are
 responsible for converting a :class:`LogRecord` to (usually) a string which can
 be interpreted by either a human or an external system. The base


More information about the Python-checkins mailing list