def sql(event)
      payload = event.payload
      return unless display_backtrace?(payload)

      setup_backtrace_cleaner

      trace = fully_formatted_trace # Memoize
      debug(trace) unless trace.blank?
    end
def sql(event)
      payload = event.payload
      return unless display_backtrace?(payload)

      setup_backtrace_cleaner

      trace = fully_formatted_trace # Memoize
      debug(trace) unless trace.blank?
    end
rubocop:disable Metrics/ClassLength