Module: Cased::Instrumentation::Controller::ClassMethods
- Defined in:
- lib/cased/instrumentation/controller.rb
Instance Method Summary collapse
Instance Method Details
#log_process_action(payload) ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/cased/instrumentation/controller.rb', line 11 def log_process_action(payload) = super count = payload[:cased_events] if count << format('Cased: %<count>d %<suffix>s', count: count, suffix: 'event'.pluralize(count)) end end |