Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93b5655 commit d3d3171Copy full SHA for d3d3171
1 file changed
Lib/logging/__init__.py
@@ -424,7 +424,8 @@ class Formatter(object):
424
responsible for converting a LogRecord to (usually) a string which can
425
be interpreted by either a human or an external system. The base Formatter
426
allows a formatting string to be specified. If none is supplied, the
427
- default value of "%s(message)" is used.
+ the style-dependent default value, "%(message)s", "{message}", or
428
+ "${message}", is used.
429
430
The Formatter can be initialized with a format string which makes use of
431
knowledge of the LogRecord attributes - e.g. the default value mentioned
0 commit comments