def exception(msg, *args, **kwargs): Logger._exception(msg, *args, **kwargs) LoggerHistoryProper.add_data(msg, 'exception')