From: Vinay Sajip Date: Thu, 31 Mar 2005 20:18:06 +0000 (+0000) Subject: Added threadName to LogRecord X-Git-Tag: v2.5a0~1855 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=99358df865471f35574992ebf5ef7e4108637de8;p=thirdparty%2FPython%2Fcpython.git Added threadName to LogRecord --- diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index 5040ef2790ba..8146059cceb7 100644 --- a/Doc/lib/liblogging.tex +++ b/Doc/lib/liblogging.tex @@ -1268,6 +1268,7 @@ Currently, the useful mapping keys in a \class{LogRecord} are: \lineii{\%(msecs)d} {Millisecond portion of the time when the \class{LogRecord} was created.} \lineii{\%(thread)d} {Thread ID (if available).} +\lineii{\%(threadName)s} {Thread name (if available).} \lineii{\%(process)d} {Process ID (if available).} \lineii{\%(message)s} {The logged message, computed as \code{msg \% args}.} \end{tableii}