123456789_123456789_123456789_123456789_123456789_

Module: ActionController::Instrumentation::ClassMethods

Relationships & Source Files
Defined in: actionpack/lib/action_controller/metal/instrumentation.rb

Instance Method Summary

Instance Method Details

#log_process_action(payload)

This method is for internal use only.

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.

[ GitHub ]

  
# File 'actionpack/lib/action_controller/metal/instrumentation.rb', line 113

def log_process_action(payload) # :nodoc:
  messages, view_runtime = [], payload[:view_runtime]
  messages << ("Views: %.1fms" % view_runtime.to_f) if view_runtime
  messages
end