Skip to content

Commit a6fa76e

Browse files
erlend-aaslandpull[bot]
authored andcommitted
Docs: document 'manager' and '_log' attrs of logging.Logging (#108145)
Authored-by: Adam Turner <[email protected]>
1 parent cf30e50 commit a6fa76e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Doc/library/logging.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,6 +1019,14 @@ information into logging calls. For a usage example, see the section on
10191019
'extra'. The return value is a (*msg*, *kwargs*) tuple which has the
10201020
(possibly modified) versions of the arguments passed in.
10211021

1022+
.. attribute:: manager
1023+
1024+
Delegates to the underlying :attr:`!manager`` on *logger*.
1025+
1026+
.. attribute:: _log
1027+
1028+
Delegates to the underlying :meth:`!_log`` method on *logger*.
1029+
10221030
In addition to the above, :class:`LoggerAdapter` supports the following
10231031
methods of :class:`Logger`: :meth:`~Logger.debug`, :meth:`~Logger.info`,
10241032
:meth:`~Logger.warning`, :meth:`~Logger.error`, :meth:`~Logger.exception`,

0 commit comments

Comments
 (0)