def exception(self, *args, **kwargs):
        if self.disabled or ERROR < self.level:
            return
        if not args:
            args = ('Uncaught exception occurred',)
        if 'exc_info' not in kwargs:
            exc_info = sys.exc_info()
            assert exc_info[0] is not None, 'no exception occurred'
            kwargs.setdefault('exc_info', sys.exc_info())
        return self.error(*args, **kwargs)
Works exactly like :meth:`error` just that the message
dataset/ETHPy150Open getlogbook/logbook/logbook/base.py/LoggerMixin.exception