mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Added threadName to LogRecord
This commit is contained in:
parent
4a70486c37
commit
99358df865
1 changed files with 1 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue