Class: Rack::CommonLogger
- Defined in:
- lib/swee/middlewaves/common_logger.rb
Instance Method Summary collapse
-
#initialize(app, logger = nil) ⇒ CommonLogger
constructor
A new instance of CommonLogger.
Constructor Details
#initialize(app, logger = nil) ⇒ CommonLogger
Returns a new instance of CommonLogger.
4 5 6 7 |
# File 'lib/swee/middlewaves/common_logger.rb', line 4 def initialize(app, logger=nil) @app = app @logger = logger end |