[Python-checkins] r52100 - python/trunk/Doc/lib/liblogging.tex

vinay.sajip python-checkins at python.org
Tue Oct 3 20:02:38 CEST 2006


Author: vinay.sajip
Date: Tue Oct  3 20:02:37 2006
New Revision: 52100

Modified:
   python/trunk/Doc/lib/liblogging.tex
Log:
Documentation omitted the additional parameter to LogRecord.__init__ which was added in 2.5. (See SF #1569622).

Modified: python/trunk/Doc/lib/liblogging.tex
==============================================================================
--- python/trunk/Doc/lib/liblogging.tex	(original)
+++ python/trunk/Doc/lib/liblogging.tex	Tue Oct  3 20:02:37 2006
@@ -1479,7 +1479,7 @@
 information to be logged.
 
 \begin{classdesc}{LogRecord}{name, lvl, pathname, lineno, msg, args,
-                             exc_info}
+                             exc_info, func}
 Returns an instance of \class{LogRecord} initialized with interesting
 information. The \var{name} is the logger name; \var{lvl} is the
 numeric level; \var{pathname} is the absolute pathname of the source
@@ -1489,7 +1489,9 @@
 which, together with \var{msg}, makes up the user message; and
 \var{exc_info} is the exception tuple obtained by calling
 \function{sys.exc_info() }(or \constant{None}, if no exception information
-is available).
+is available). The \var{func} is the name of the function from which the
+logging call was made.
+\versionchanged[\var{func} was added]{2.5}
 \end{classdesc}
 
 \begin{methoddesc}{getMessage}{}


More information about the Python-checkins mailing list