diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index acdeb88a546261..f8c726ef597ec1 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -383,6 +383,15 @@ is the module's name in the Python package namespace. .. versionadded:: 3.2 + .. method:: Logger._log(level, msg, args, exc_info=None, extra=None, stack_info=False, stacklevel=1) + + Low-level logging routine which creates a :class:`~LogRecord` and then calls + all the handlers of this logger to handle the record. + + .. attribute:: manager + + The logger ``logging.Manager``. + .. versionchanged:: 3.7 Loggers can now be pickled and unpickled. @@ -1021,11 +1030,11 @@ information into logging calls. For a usage example, see the section on .. attribute:: manager - Delegates to the underlying :attr:`!manager`` on *logger*. + Delegates to the underlying :attr:`!manager` on *logger*. .. attribute:: _log - Delegates to the underlying :meth:`!_log`` method on *logger*. + 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`,