def METHOD_NAME(self, record):
    log = super().METHOD_NAME(record)
    extra = {
        key: value
        for key, value in record.__dict__.items()
        if key
        not in list(sentry_sdk.integrations.logging.COMMON_RECORD_ATTRS)
        + ["asctime", "app_name"]
    }
    if len(extra) > 0:
        log += " | extra=" + str(extra)
    return log