Class: ActionController::LogSubscriber

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

Instance Method Summary collapse

Methods included from PayloadValueShuntable

#shunt_payload_value

Instance Method Details

#original_start_processingObject



9
# File 'lib/flog/params_formattable.rb', line 9

alias :original_start_processing :start_processing

#start_processing(event) ⇒ Object



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

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

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