You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Table of Contents
19
19
20
20
**jsonformatter** is a formatter for python output json log, you can easily output **LogStash** needed log format or other **custom** json format and you can easily **custom(add/replace)**`LogRecord` attribute.
21
21
22
-
**Python 2.7** and **python 3** are supported from version 0.2.0, if you are using a version lower than 0.2.0, **python 3** is only supported.
22
+
**Python 2.7** and **python 3** are supported from version 0.2.X, if you are using a version lower than 0.2.X, **python 3** is only supported.
If ``record_custom_attrs`` is not ``None``, it must be a ``dict`` type, the key of dict will be setted as LogRecord's attribute, the value of key must be a callable object and without parameters, it returned obj will be setted as attribute's value of LogRecord.
0 commit comments