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

Skip to content

Commit 64047f7

Browse files
[3.14] gh-134360 Add processName attribute to logging.Formatter docstring (GH-134371) (GH-134405)
Co-authored-by: Sofia Toro <sofie.torch@outlook.com>
1 parent af428a3 commit 64047f7

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