]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: document 'manager' and '_log' attrs of logging.Logging (#108145)
authorErlend E. Aasland <erlend@python.org>
Sun, 20 Aug 2023 16:01:10 +0000 (18:01 +0200)
committerGitHub <noreply@github.com>
Sun, 20 Aug 2023 16:01:10 +0000 (16:01 +0000)
Authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/library/logging.rst

index 97a0b82b78b1b327d368ee74819de9415003dee7..cf3dcb96a4c4126630d018c0b6824ea4f9b6d437 100644 (file)
@@ -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`,