Class: Gemstash::Logging::RackMiddleware
- Inherits:
-
Object
- Object
- Gemstash::Logging::RackMiddleware
- Defined in:
- lib/gemstash/logging.rb
Overview
Rack middleware to set the Rack logger to the Gemstash logger.
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ RackMiddleware
constructor
A new instance of RackMiddleware.
Constructor Details
#initialize(app) ⇒ RackMiddleware
Returns a new instance of RackMiddleware.
50 51 52 |
# File 'lib/gemstash/logging.rb', line 50 def initialize(app) @app = app end |