Methods

Class/Module Index [+]

Quicksearch

Merb::Rack::Tracer

Public Instance Methods

call(env) click to toggle source

:api: plugin

# File lib/merb-core/rack/middleware/tracer.rb, line 6
def call(env)

  Merb.logger.debug!("Rack environment:\n" + env.inspect + "\n\n")

  status, headers, body = @app.call(env)

  Merb.logger.debug!("Status: #{status.inspect}")
  Merb.logger.debug!("Headers: #{headers.inspect}")
  Merb.logger.debug!("Body: #{body.inspect}")

  [status, headers, body]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.