8000 [3.13] gh-134360 Add processName attribute to `logging.Formatter` doc… · python/cpython@7ada439 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ada439

Browse files
[3.13] gh-134360 Add processName attribute to logging.Formatter docstring (GH-134371) (GH-134404)
Co-authored-by: Sofia Toro <sofie.torch@outlook.com>
1 parent 35eb3b8 commit 7ada439

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/logging/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ class Formatter(object):
591591
%(threadName)s Thread name (if available)
592592
%(taskName)s Task name (if available)
593593
%(process)d Process ID (if available)
594+
%(processName)s Process name (if available)
594595
%(message)s The result of record.getMessage(), computed just as
595596
the record is emitted
596597
"""

0 commit comments

Comments
 (0)
0