mirror of https://github.com/python/cpython.git
gh-134360 Add processName attribute to `logging.Formatter` docstring (GH-134371)
This commit is contained in:
parent
1298511b41
commit
c740fe3bd0
|
@ -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…
Reference in New Issue