module Sentry::Rails::Breadcrumb::ActiveSupportLogger

def inject(allowed_keys)

def inject(allowed_keys)
  @allowed_keys = allowed_keys
  @subscriber = ::ActiveSupport::Notifications.subscribe(/.*/) do |name, started, finished, unique_id, data|
    # we only record events that has a started timestamp
    if started.is_a?(Time)
      add(name, started, finished, unique_id, data)
    end
  end
end