logger-36 2023.5__py3-none-any.whl → 2023.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
- # "message" is not yet an attribute of record (it will be set by format()); Use "msg" instead.
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
@@ -29,4 +29,4 @@
29
29
  # The fact that you are presently reading this means that you have had
30
30
  # knowledge of the CeCILL license and that you accept its terms.
31
31
 
32
- __version__ = "2023.5"
32
+ __version__ = "2023.6"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: logger-36
3
- Version: 2023.5
3
+ Version: 2023.6
4
4
  Summary: Simple logger using rich_
5
5
  Home-page: https://src.koda.cnrs.fr/eric.debreuve/logger-36/
6
6
  Author: Eric Debreuve
@@ -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,,