class ActiveSupport::BacktraceCleaner

def clean(backtrace, kind = :silent)

against it. Filters run first, then silencers.
Returns the backtrace after all filters and silencers have been run
def clean(backtrace, kind = :silent)
  filtered = filter_backtrace(backtrace)
  case kind
  when :silent
    silence(filtered)
  when :noise
    noise(filtered)
  else
    filtered
  end
end