Methods

Class 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
 6:       def call(env)
 7: 
 8:         Merb.logger.debug!("Rack environment:\n" + env.inspect + "\n\n")
 9: 
10:         status, headers, body = @app.call(env)
11: 
12:         Merb.logger.debug!("Status: #{status.inspect}")
13:         Merb.logger.debug!("Headers: #{headers.inspect}")
14:         Merb.logger.debug!("Body: #{body.inspect}")
15: 
16:         [status, headers, body]
17:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.