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