Update logging documentation to tidy up formatting (GH-22173)
This commit is contained in:
parent
788b79fa7b
commit
1e874d5bec
|
@ -529,8 +529,7 @@ The useful mapping keys in a :class:`LogRecord` are given in the section on
|
||||||
:ref:`logrecord-attributes`.
|
:ref:`logrecord-attributes`.
|
||||||
|
|
||||||
|
|
||||||
.. class:: Formatter(fmt=None, datefmt=None, style='%', validate=True, *,
|
.. class:: Formatter(fmt=None, datefmt=None, style='%', validate=True, *, defaults=None)
|
||||||
defaults=None)
|
|
||||||
|
|
||||||
Returns a new instance of the :class:`Formatter` class. The instance is
|
Returns a new instance of the :class:`Formatter` class. The instance is
|
||||||
initialized with a format string for the message as a whole, as well as a
|
initialized with a format string for the message as a whole, as well as a
|
||||||
|
|
Loading…
Reference in New Issue