Module: ActionController::Instrumentation::ClassMethods
- Defined in:
- actionpack/lib/action_controller/metal/instrumentation.rb
Instance Method Summary collapse
-
#log_process_action(payload) ⇒ Object
A hook which allows other frameworks to log what happened during controller process action.
Instance Method Details
#log_process_action(payload) ⇒ Object
A hook which allows other frameworks to log what happened during controller process action. This method should return an array with the messages to be added. :api: plugin
98 99 100 101 102 |
# File 'actionpack/lib/action_controller/metal/instrumentation.rb', line 98 def log_process_action(payload) #:nodoc: , view_runtime = [], payload[:view_runtime] << ("Views: %.1fms" % view_runtime.to_f) if view_runtime end |