diff options
author | Georg Brandl <georg@python.org> | 2010-10-06 08:43:56 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-06 08:43:56 (GMT) |
commit | 23b4f927d5e1c55ee0ff26570dfcaf3f307254fe (patch) | |
tree | 4d545a0aeb81b8fee1c18df4ab9f148b75248012 /Doc/library/logging.rst | |
parent | 13f959b50185bc664497d95f3d370aa9aad34365 (diff) | |
download | cpython-23b4f927d5e1c55ee0ff26570dfcaf3f307254fe.zip cpython-23b4f927d5e1c55ee0ff26570dfcaf3f307254fe.tar.gz cpython-23b4f927d5e1c55ee0ff26570dfcaf3f307254fe.tar.bz2 |
Merged revisions 84142 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r84142 | georg.brandl | 2010-08-17 17:07:14 +0200 (Di, 17 Aug 2010) | 1 line
Consistency check for versionadded/changed directives.
........
Diffstat (limited to 'Doc/library/logging.rst')
-rw-r--r-- | Doc/library/logging.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index a58638d..2b8e92c 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -895,6 +895,7 @@ instantiated directly, but always through the module-level function :const:`NOTSET` is found, and that value is returned. + .. method:: Logger.debug(msg, *args, **kwargs) Logs a message with level :const:`DEBUG` on this logger. The *msg* is the @@ -2638,6 +2639,9 @@ methods of :class:`Logger`, i.e. :meth:`debug`, :meth:`info`, :meth:`warning`, methods have the same signatures as their counterparts in :class:`Logger`, so you can use the two types of instances interchangeably. + The :meth:`isEnabledFor` method was added to :class:`LoggerAdapter`. This + method delegates to the underlying logger. + Thread Safety ------------- |