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 755640b commit bbd95a9Copy full SHA for bbd95a9
1 file changed
Doc/library/logging.rst
@@ -481,7 +481,9 @@ Formatter Objects
481
responsible for converting a :class:`LogRecord` to (usually) a string which can
482
be interpreted by either a human or an external system. The base
483
:class:`Formatter` allows a formatting string to be specified. If none is
484
-supplied, the default value of ``'%(message)s'`` is used.
+supplied, the default value of ``'%(message)s'`` is used, which just includes
485
+the message in the logging call. To have additional items of information in the
486
+formatted output (such as a timestamp), keep reading.
487
488
A Formatter can be initialized with a format string which makes use of knowledge
489
of the :class:`LogRecord` attributes - such as the default value mentioned above
0 commit comments