ID EN
Logging

exception

Python 3.11

Logs a message with level ERROR on this logger. The arguments are interpreted as for debug(). Exception info is added to the logging message. This method should only be called from an exception handler.

Syntax

PYTHON
exception(msg, *args, **kwargs)

See Also

ERROR debug()