mirror of
https://github.com/python/cpython
synced 2024-09-15 22:10:19 +00:00
Docs: document 'manager' and '_log' attrs of logging.Logging (#108145)
Authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
parent
a390ec20f5
commit
f904aa4e1f
|
@ -1019,6 +1019,14 @@ information into logging calls. For a usage example, see the section on
|
|||
'extra'. The return value is a (*msg*, *kwargs*) tuple which has the
|
||||
(possibly modified) versions of the arguments passed in.
|
||||
|
||||
.. attribute:: manager
|
||||
|
||||
Delegates to the underlying :attr:`!manager`` on *logger*.
|
||||
|
||||
.. attribute:: _log
|
||||
|
||||
Delegates to the underlying :meth:`!_log`` method on *logger*.
|
||||
|
||||
In addition to the above, :class:`LoggerAdapter` supports the following
|
||||
methods of :class:`Logger`: :meth:`~Logger.debug`, :meth:`~Logger.info`,
|
||||
:meth:`~Logger.warning`, :meth:`~Logger.error`, :meth:`~Logger.exception`,
|
||||
|
|
Loading…
Reference in a new issue