Class: RequestLog::Objects

Inherits:
Object
  • Object
show all
Includes:
Mongrel::HttpHandlerPlugin
Defined in:
lib/mongrel/debug.rb

Instance Attribute Summary

Attributes included from Mongrel::HttpHandlerPlugin

#options

Instance Method Summary collapse

Methods included from Mongrel::HttpHandlerPlugin

#initialize

Instance Method Details

#process(request, response) ⇒ Object



235
236
237
238
# File 'lib/mongrel/debug.rb', line 235

def process(request, response)
  MongrelDbg::trace(:objects, "#{Time.now} OBJECT STATS BEFORE REQUEST #{request.params['PATH_INFO']}")
  ObjectTracker.sample
end