Browse Source

Issue #21245: updated documentation on exception() method and function.

pull/224/head
Vinay Sajip 12 years ago
parent
commit
65425b4bc6
  1. 4
      Doc/library/logging.rst

4
Doc/library/logging.rst

@ -250,7 +250,7 @@ is the module's name in the Python package namespace.
interpreted as for :meth:`debug`.
.. method:: Logger.exception(msg, *args)
.. method:: Logger.exception(msg, *args, **kwargs)
Logs a message with level :const:`ERROR` on this logger. The arguments are
interpreted as for :meth:`debug`. Exception info is added to the logging
@ -992,7 +992,7 @@ functions.
are interpreted as for :func:`debug`.
.. function:: exception(msg, *args)
.. function:: exception(msg, *args, **kwargs)
Logs a message with level :const:`ERROR` on the root logger. The arguments are
interpreted as for :func:`debug`. Exception info is added to the logging

Loading…
Cancel
Save