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.
@@ -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
@@ -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()
@@ -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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes