File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -671,16 +671,15 @@ Formatter Objects
671
671
which is just the logged message.
672
672
:type fmt: str
673
673
674
- :param datefmt: A format string in the given *style * for
675
- the date/time portion of the logged output.
674
+ :param datefmt: A format string for the date/time portion of the logged output.
676
675
If not specified, the default described in :meth: `formatTime ` is used.
677
676
:type datefmt: str
678
677
679
678
:param style: Can be one of ``'%' ``, ``'{' `` or ``'$' `` and determines
680
679
how the format string will be merged with its data: using one of
681
680
:ref: `old-string-formatting ` (``% ``), :meth: `str.format ` (``{ ``)
682
681
or :class: `string.Template ` (``$ ``). This only applies to
683
- *fmt * and * datefmt * (e.g. ``'%(message)s' `` versus ``'{message}' ``),
682
+ *fmt * (e.g. ``'%(message)s' `` versus ``'{message}' ``),
684
683
not to the actual log messages passed to the logging methods.
685
684
However, there are :ref: `other ways <formatting-styles >`
686
685
to use ``{ ``- and ``$ ``-formatting for log messages.
You can’t perform that action at this time.
0 commit comments