Corrected some incorrect cross-references.
This commit is contained in:
parent
a50f89954d
commit
9b83d533e2
@ -794,17 +794,18 @@ information into logging calls. For a usage example , see the section on
|
|||||||
(possibly modified) versions of the arguments passed in.
|
(possibly modified) versions of the arguments passed in.
|
||||||
|
|
||||||
In addition to the above, :class:`LoggerAdapter` supports the following
|
In addition to the above, :class:`LoggerAdapter` supports the following
|
||||||
methods of :class:`Logger`, i.e. :meth:`debug`, :meth:`info`, :meth:`warning`,
|
methods of :class:`Logger`: :meth:`~Logger.debug`, :meth:`~Logger.info`,
|
||||||
:meth:`error`, :meth:`exception`, :meth:`critical`, :meth:`log`,
|
:meth:`~Logger.warning`, :meth:`~Logger.error`, :meth:`~Logger.exception`,
|
||||||
:meth:`isEnabledFor`, :meth:`getEffectiveLevel`, :meth:`setLevel`,
|
:meth:`~Logger.critical`, :meth:`~Logger.log`, :meth:`~Logger.isEnabledFor`,
|
||||||
:meth:`hasHandlers`. These methods have the same signatures as their
|
:meth:`~Logger.getEffectiveLevel`, :meth:`~Logger.setLevel` and
|
||||||
|
:meth:`~Logger.hasHandlers`. These methods have the same signatures as their
|
||||||
counterparts in :class:`Logger`, so you can use the two types of instances
|
counterparts in :class:`Logger`, so you can use the two types of instances
|
||||||
interchangeably.
|
interchangeably.
|
||||||
|
|
||||||
.. versionchanged:: 3.2
|
.. versionchanged:: 3.2
|
||||||
The :meth:`isEnabledFor`, :meth:`getEffectiveLevel`, :meth:`setLevel` and
|
The :meth:`~Logger.isEnabledFor`, :meth:`~Logger.getEffectiveLevel`,
|
||||||
:meth:`hasHandlers` methods were added to :class:`LoggerAdapter`. These
|
:meth:`~Logger.setLevel` and :meth:`~Logger.hasHandlers` methods were added
|
||||||
methods delegate to the underlying logger.
|
to :class:`LoggerAdapter`. These methods delegate to the underlying logger.
|
||||||
|
|
||||||
|
|
||||||
Thread Safety
|
Thread Safety
|
||||||
|
Loading…
x
Reference in New Issue
Block a user