Skip to content

Commit

Permalink
Docs: document 'manager' and '_log' attrs of logging.Logging (python#…
Browse files Browse the repository at this point in the history
…108145)

Authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
  • Loading branch information
erlend-aasland authored Aug 20, 2023
1 parent a390ec2 commit f904aa4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Doc/library/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down

0 comments on commit f904aa4

Please sign in to comment.