Class: Rack::CommonLogger

Inherits:
Object show all
Defined in:
lib/swee/middlewaves/common_logger.rb

Instance Method Summary collapse

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