diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-02-13 02:04:37 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-02-13 02:04:37 (GMT) |
commit | c16dd48ee1d094ec30d6096e1085ca557d313b46 (patch) | |
tree | 624bcb4d0dbc027cc2a1c14103bcf5bb36e6c5f3 | |
parent | 389cea8efccabb7e31b40325a512c2cf626a1b01 (diff) | |
download | cpython-c16dd48ee1d094ec30d6096e1085ca557d313b46.zip cpython-c16dd48ee1d094ec30d6096e1085ca557d313b46.tar.gz cpython-c16dd48ee1d094ec30d6096e1085ca557d313b46.tar.bz2 |
Doc some user visible changes
-rw-r--r-- | Doc/lib/liblogging.tex | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index 63293d6..45a59e4 100644 --- a/Doc/lib/liblogging.tex +++ b/Doc/lib/liblogging.tex @@ -526,6 +526,7 @@ as those created locally. Logger-level filtering is applied using func, extra} This is a factory method which can be overridden in subclasses to create specialized \class{LogRecord} instances. +\versionchanged[\var{func} and \var{extra} were added]{2.5} \end{methoddesc} \subsection{Basic example \label{minimal-example}} @@ -1387,7 +1388,7 @@ Currently, the useful mapping keys in a \class{LogRecord} are: call was issued (if available).} \lineii{\%(filename)s} {Filename portion of pathname.} \lineii{\%(module)s} {Module (name portion of filename).} -\lineii{\%(funcName)s} {Name of function containing the logging call.} +\lineii{\%(funcName)s} {Name of function containing the logging call.} \lineii{\%(lineno)d} {Source line number where the logging call was issued (if available).} \lineii{\%(created)f} {Time when the \class{LogRecord} was created (as @@ -1404,6 +1405,8 @@ Currently, the useful mapping keys in a \class{LogRecord} are: \lineii{\%(message)s} {The logged message, computed as \code{msg \% args}.} \end{tableii} +\versionchanged[\var{funcName} was added]{2.5} + \begin{classdesc}{Formatter}{\optional{fmt\optional{, datefmt}}} Returns a new instance of the \class{Formatter} class. The instance is initialized with a format string for the message as a whole, |