def exception(  <EOL>self, msg, *args, exc_info=True, **kwargs<EOL>) -> Task:
return self.error(msg, *args, exc_info=exc_info, **kwargs)<EOL>
Convenience method for logging an ERROR with exception information.