def error(self, message, *args, **kwargs):
kwargs.setdefault('<STR_LIT>', {}).setdefault('<STR_LIT>', True)<EOL>return self.logger.error(message, *args, **kwargs)<EOL>
Log error with stack trace and locals information.

        By default, enables stack trace information in logging messages, so that stacktrace and locals appear in Sentry.