Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 369a633

Browse files
authored
Add taskName to BUILTIN_ATTRS set
`taskName` is a new attribute of `LogRecord`, that was added in Python 3.12. See the [doc](https://docs.python.org/3/library/logging.html#logrecord-attributes)
1 parent f8d79df commit 369a633

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎json_log_formatter/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
'processName',
2626
'relativeCreated',
2727
'stack_info',
28+
'taskName',
2829
'thread',
2930
'threadName',
3031
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /