]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added threadName to LogRecord
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Thu, 31 Mar 2005 20:18:06 +0000 (20:18 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Thu, 31 Mar 2005 20:18:06 +0000 (20:18 +0000)
Doc/lib/liblogging.tex

index 5040ef2790ba267ca86caac01b41163763d46bab..8146059cceb7bdf8d0d6655c4b1d447fb7f54422 100644 (file)
@@ -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}