Class: ActionController::LogSubscriber

Inherits:
Object
  • Object
show all
Includes:
Flog::PayloadValueShuntable
Defined in:
lib/flog/params_formattable.rb

Instance Method Summary collapse

Methods included from Flog::PayloadValueShuntable

#shunt_payload_value

Instance Method Details

#start_processing_with_flog(event) ⇒ Object



10
11
12
13
14
15
16
17
18
# File 'lib/flog/params_formattable.rb', line 10

def start_processing_with_flog(event)
  return start_processing_without_flog(event) unless Flog::Status.enabled?

  replaced = replace_params(event.payload[:params])

  shunt_payload_value(event.payload, :params, replaced) do
    start_processing_without_flog(event)
  end
end