mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
gh-134360 Add processName attribute to logging.Formatter
docstring (GH-134371)
This commit is contained in:
parent
1298511b41
commit
c740fe3bd0
1 changed files with 1 additions and 0 deletions
|
@ -591,6 +591,7 @@ class Formatter(object):
|
||||||
%(threadName)s Thread name (if available)
|
%(threadName)s Thread name (if available)
|
||||||
%(taskName)s Task name (if available)
|
%(taskName)s Task name (if available)
|
||||||
%(process)d Process ID (if available)
|
%(process)d Process ID (if available)
|
||||||
|
%(processName)s Process name (if available)
|
||||||
%(message)s The result of record.getMessage(), computed just as
|
%(message)s The result of record.getMessage(), computed just as
|
||||||
the record is emitted
|
the record is emitted
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue