Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b83d53

Browse files
committed
Corrected some incorrect cross-references.
1 parent a50f899 commit 9b83d53

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

Doc/library/logging.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -794,17 +794,18 @@ information into logging calls. For a usage example , see the section on
794794
(possibly modified) versions of the arguments passed in.
795795

796796
In addition to the above, :class:`LoggerAdapter` supports the following
797-
methods of :class:`Logger`, i.e. :meth:`debug`, :meth:`info`, :meth:`warning`,
798-
:meth:`error`, :meth:`exception`, :meth:`critical`, :meth:`log`,
799-
:meth:`isEnabledFor`, :meth:`getEffectiveLevel`, :meth:`setLevel`,
800-
:meth:`hasHandlers`. These methods have the same signatures as their
797+
methods of :class:`Logger`: :meth:`~Logger.debug`, :meth:`~Logger.info`,
798+
:meth:`~Logger.warning`, :meth:`~Logger.error`, :meth:`~Logger.exception`,
799+
:meth:`~Logger.critical`, :meth:`~Logger.log`, :meth:`~Logger.isEnabledFor`,
800+
:meth:`~Logger.getEffectiveLevel`, :meth:`~Logger.setLevel` and
801+
:meth:`~Logger.hasHandlers`. These methods have the same signatures as their
801802
counterparts in :class:`Logger`, so you can use the two types of instances
802803
interchangeably.
803804

804805
.. versionchanged:: 3.2
805-
The :meth:`isEnabledFor`, :meth:`getEffectiveLevel`, :meth:`setLevel` and
806-
:meth:`hasHandlers` methods were added to :class:`LoggerAdapter`. These
807-
methods delegate to the underlying logger.
806+
The :meth:`~Logger.isEnabledFor`, :meth:`~Logger.getEffectiveLevel`,
807+
:meth:`~Logger.setLevel` and :meth:`~Logger.hasHandlers` methods were added
808+
to :class:`LoggerAdapter`. These methods delegate to the underlying logger.
808809

809810

810811
Thread Safety

0 commit comments

Comments
 (0)