8000 Docs: document 'manager' and '_log' attrs of logging.Logging (#108145) · python/cpython@f904aa4 · GitHub
[go: up one dir, main page]

Skip to content

Commit f904aa4

Browse files
Docs: document 'manager' and '_log' attrs of logging.Logging (#108145)
Authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent a390ec2 commit f904aa4

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)
0