logger-36 2023.5__py3-none-any.whl → 2023.6__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- logger_36/main.py +5 -2
- logger_36/version.py +1 -1
- {logger_36-2023.5.dist-info → logger_36-2023.6.dist-info}/METADATA +1 -1
- logger_36-2023.6.dist-info/RECORD +8 -0
- logger_36-2023.5.dist-info/RECORD +0 -8
- {logger_36-2023.5.dist-info → logger_36-2023.6.dist-info}/WHEEL +0 -0
- {logger_36-2023.5.dist-info → logger_36-2023.6.dist-info}/top_level.txt +0 -0
logger_36/main.py
CHANGED
@@ -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()
|
logger_36/version.py
CHANGED
@@ -0,0 +1,8 @@
|
|
1
|
+
logger_36/__init__.py,sha256=hoDitcbdJeHgQYTpkAnfYepCxUxkP6lbxPbHkHas3AU,1739
|
2
|
+
logger_36/main.py,sha256=gMML8vC0QmYItGvzrFIQxYohHMTANVdji5Y3FgW2GJQ,10257
|
3
|
+
logger_36/test.py,sha256=8bh0i-HZaZVImf66M0F-0R-T_PI6gYlPxO44KbCjI5s,2118
|
4
|
+
logger_36/version.py,sha256=r36L0uTNUpNnKoBVQqEARtyQO1bzYXBVu9Z2Af_Lnjg,1575
|
5
|
+
logger_36-2023.6.dist-info/METADATA,sha256=aosgF4UGoXIRGGc5XodWc0CKGtciMbpqpIlG0TaviBs,4241
|
6
|
+
logger_36-2023.6.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
7
|
+
logger_36-2023.6.dist-info/top_level.txt,sha256=sM95BTMWmslEEgR_1pzwZsOeSp8C_QBiu8ImbFr0XLc,10
|
8
|
+
logger_36-2023.6.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
logger_36/__init__.py,sha256=hoDitcbdJeHgQYTpkAnfYepCxUxkP6lbxPbHkHas3AU,1739
|
2
|
-
logger_36/main.py,sha256=0ktso80_et_Ukd_jJ2G_7IStfYAq0m8ulRS8uyDjJI0,10159
|
3
|
-
logger_36/test.py,sha256=8bh0i-HZaZVImf66M0F-0R-T_PI6gYlPxO44KbCjI5s,2118
|
4
|
-
logger_36/version.py,sha256=fv_TSqiO9ZQ7HdlEbYOjEcVFGkko7jY5kEdylBhuAVo,1575
|
5
|
-
logger_36-2023.5.dist-info/METADATA,sha256=zcwg-3RIMkW3d48TZwlnRHT23gAoPNIYNfINDCi7z8c,4241
|
6
|
-
logger_36-2023.5.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
7
|
-
logger_36-2023.5.dist-info/top_level.txt,sha256=sM95BTMWmslEEgR_1pzwZsOeSp8C_QBiu8ImbFr0XLc,10
|
8
|
-
logger_36-2023.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|