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



150
151
152
153
# File 'lib/mongrel/debug.rb', line 150

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