Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b4d30a

Browse files
committed
Closes #24060: Merged documentation update from 3.4.
2 parents 2e02875 + bbd95a9 commit 3b4d30a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Doc/library/logging.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,9 @@ Formatter Objects
486486
responsible for converting a :class:`LogRecord` to (usually) a string which can
487487
be interpreted by either a human or an external system. The base
488488
:class:`Formatter` allows a formatting string to be specified. If none is
489-
supplied, the default value of ``'%(message)s'`` is used.
489+
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.
490492

491493
A Formatter can be initialized with a format string which makes use of knowledge
492494
of the :class:`LogRecord` attributes - such as the default value mentioned above

0 commit comments

Comments
 (0)