diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2006-10-03 18:02:37 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2006-10-03 18:02:37 (GMT) |
commit | cfbb7df4b01a13a19602a81e334d531e4493fe15 (patch) | |
tree | 33f395a821e5d70d5cdd89b4548340f898e9157a | |
parent | 40e9aed050e4fac881487fcfb125306fce0431d9 (diff) | |
download | cpython-cfbb7df4b01a13a19602a81e334d531e4493fe15.zip cpython-cfbb7df4b01a13a19602a81e334d531e4493fe15.tar.gz cpython-cfbb7df4b01a13a19602a81e334d531e4493fe15.tar.bz2 |
Documentation omitted the additional parameter to LogRecord.__init__ which was added in 2.5. (See SF #1569622).
-rw-r--r-- | Doc/lib/liblogging.tex | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index cc44294..1c0c47c 100644 --- a/Doc/lib/liblogging.tex +++ b/Doc/lib/liblogging.tex @@ -1479,7 +1479,7 @@ source line where the logging call was made, and any exception 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 @@ user-supplied message (a format string); \var{args} is the tuple 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}{} |