W3cubDocs

/Padrino

Class: Padrino::Logger::Rack

Inherits:
Object
  • Object

Overview

Padrino::Logger::Rack forwards every request to an app given, and logs a line in the Apache common log format to the logger, or rack.errors by default.

Instance Method Summary

Constructor Details

#initialize(app, uri_root) ⇒ Rack

Returns a new instance of Rack

Instance Method Details

#call(env) ⇒ Object

© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Logger/Rack