logger-36 2023.5__tar.gz → 2023.6__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {logger-36-2023.5 → logger-36-2023.6}/PKG-INFO +1 -1
- {logger-36-2023.5 → logger-36-2023.6}/logger_36/main.py +5 -2
- {logger-36-2023.5 → logger-36-2023.6}/logger_36/version.py +1 -1
- {logger-36-2023.5 → logger-36-2023.6}/logger_36.egg-info/PKG-INFO +1 -1
- {logger-36-2023.5 → logger-36-2023.6}/MANIFEST.in +0 -0
- {logger-36-2023.5 → logger-36-2023.6}/README-COPYRIGHT-utf8.txt +0 -0
- {logger-36-2023.5 → logger-36-2023.6}/README-LICENCE-utf8.txt +0 -0
- {logger-36-2023.5 → logger-36-2023.6}/README.rst +0 -0
- {logger-36-2023.5 → logger-36-2023.6}/documentation/wiki/description.asciidoc +0 -0
- {logger-36-2023.5 → logger-36-2023.6}/logger_36/__init__.py +0 -0
- {logger-36-2023.5 → logger-36-2023.6}/logger_36/test.py +0 -0
- {logger-36-2023.5 → logger-36-2023.6}/logger_36.egg-info/SOURCES.txt +0 -0
- {logger-36-2023.5 → logger-36-2023.6}/logger_36.egg-info/dependency_links.txt +0 -0
- {logger-36-2023.5 → logger-36-2023.6}/logger_36.egg-info/requires.txt +0 -0
- {logger-36-2023.5 → logger-36-2023.6}/logger_36.egg-info/top_level.txt +0 -0
- {logger-36-2023.5 → logger-36-2023.6}/pyproject.toml +0 -0
- {logger-36-2023.5 → logger-36-2023.6}/setup.cfg +0 -0
- {logger-36-2023.5 → logger-36-2023.6}/setup.py +0 -0
@@ -107,8 +107,11 @@ class _handler_extension:
|
|
107
107
|
def FormattedMessage(
|
108
108
|
self, record: lggg.LogRecord, /
|
109
109
|
) -> tuple[str, list[str] | None]:
|
110
|
-
"""
|
111
|
-
|
110
|
+
"""
|
111
|
+
Note: "message" is not yet an attribute of record (it will be set by format()); Use "msg" instead.
|
112
|
+
"""
|
113
|
+
if not isinstance(record.msg, str):
|
114
|
+
record.msg = str(record.msg)
|
112
115
|
if "\n" in record.msg:
|
113
116
|
original_message = record.msg
|
114
117
|
lines = original_message.splitlines()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|