[Python-checkins] [3.11] Docs: document 'manager' and '_log' attrs of logging.Logging (GH-108145) (GH-108189)

vsajip webhook-mailer at python.org
Mon Aug 21 06:44:29 EDT 2023


https://github.com/python/cpython/commit/a372274a9b1d1d474831ccc6dd9d4de291acd37f
commit: a372274a9b1d1d474831ccc6dd9d4de291acd37f
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: vsajip <vinay_sajip at yahoo.co.uk>
date: 2023-08-21T11:44:25+01:00
summary:

[3.11] Docs: document 'manager' and '_log' attrs of logging.Logging (GH-108145) (GH-108189)

(cherry picked from commit f904aa4e1f6943e5bd9a8a73cf762f063e6fa247)
Authored-by: Adam Turner <9087854+AA-Turner at users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend at python.org>

files:
M Doc/library/logging.rst

diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index f9658fa22d8b2..1fd1d0966a612 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -994,6 +994,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`,



More information about the Python-checkins mailing list