Function
logging.exception

Signature

exception(msg, *args)

Documentation String

Log a message with severity ERROR on the root logger, with exception information.