We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
logging.LogRecord
msg
1 parent dd2818a commit b6564d9Copy full SHA for b6564d9
stdlib/logging/__init__.pyi
@@ -389,7 +389,7 @@ class LogRecord:
389
msecs: float
390
# Only created when logging.Formatter.format is called. See #6132.
391
message: str
392
- msg: str
+ msg: str | Any # The runtime accepts any object, but will be a str in 99% of cases
393
name: str
394
pathname: str
395
process: int | None
0 commit comments