Commit 3b4d30a2 authored by Vinay Sajip's avatar Vinay Sajip

Closes #24060: Merged documentation update from 3.4.

parents 2e028755 bbd95a93
...@@ -486,7 +486,9 @@ Formatter Objects ...@@ -486,7 +486,9 @@ Formatter Objects
responsible for converting a :class:`LogRecord` to (usually) a string which can responsible for converting a :class:`LogRecord` to (usually) a string which can
be interpreted by either a human or an external system. The base be interpreted by either a human or an external system. The base
:class:`Formatter` allows a formatting string to be specified. If none is :class:`Formatter` allows a formatting string to be specified. If none is
supplied, the default value of ``'%(message)s'`` is used. supplied, the default value of ``'%(message)s'`` is used, which just includes
the message in the logging call. To have additional items of information in the
formatted output (such as a timestamp), keep reading.
A Formatter can be initialized with a format string which makes use of knowledge A Formatter can be initialized with a format string which makes use of knowledge
of the :class:`LogRecord` attributes - such as the default value mentioned above of the :class:`LogRecord` attributes - such as the default value mentioned above
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment