Skip to content

Commit a372274

Browse files
[3.11] Docs: document 'manager' and '_log' attrs of logging.Logging (GH-108145) (GH-108189)
(cherry picked from commit f904aa4) Authored-by: Adam Turner <[email protected]> Co-authored-by: Erlend E. Aasland <[email protected]>
1 parent a1d2e2c commit a372274

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
@@ -994,6 +994,14 @@ information into logging calls. For a usage example, see the section on
994994
'extra'. The return value is a (*msg*, *kwargs*) tuple which has the
995995
(possibly modified) versions of the arguments passed in.
996996

997+
.. attribute:: manager
998+
999+
Delegates to the underlying :attr:`!manager`` on *logger*.
1000+
1001+
.. attribute:: _log
1002+
1003+
Delegates to the underlying :meth:`!_log`` method on *logger*.
1004+
9971005
In addition to the above, :class:`LoggerAdapter` supports the following
9981006
methods of :class:`Logger`: :meth:`~Logger.debug`, :meth:`~Logger.info`,
9991007
:meth:`~Logger.warning`, :meth:`~Logger.error`, :meth:`~Logger.exception`,

0 commit comments

Comments
 (0)