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
<ahref="https://travis-ci.com/Colin-b/logging_json"><imgalt="Number of tests"src="https://img.shields.io/badge/tests-11 passed-blue"></a>
8
+
<ahref="https://travis-ci.com/Colin-b/logging_json"><imgalt="Number of tests"src="https://img.shields.io/badge/tests-15 passed-blue"></a>
9
9
<ahref="https://pypi.org/project/logging_json/"><imgalt="Number of downloads"src="https://img.shields.io/pypi/dm/logging_json"></a>
10
10
</p>
11
11
@@ -55,7 +55,7 @@ The resulting JSON dictionary will be the one you provided (with the [additional
55
55
### Logging with anything else (such as a string)
56
56
57
57
Anything not logged using a dictionary will be handled by the standard formatter and it can result in one of the 2 output:
58
-
* A JSON dictionary, if [additional fields](#adding-additional-fields-and-values) are set, with the message available in the `msg` key of the resulting JSON dictionary.
58
+
* A JSON dictionary, if [additional fields](#adding-additional-fields-and-values) are set or if `extra` parameter is used while logging, with the message available in the `msg` key of the resulting JSON dictionary.
59
59
* The formatted record, if no [additional fields](#adding-additional-fields-and-values) are set.
60
60
61
61
This handles the usual string logging as in the following:
0 commit comments