Class: Sinatra::Middleware::Logger
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/sinatra/middleware/logger.rb |
Class Method Summary
- .new(app, level = ::Logger::INFO) ⇒ Logger constructor
Instance Method Summary
Constructor Details
.new(app, level = ::Logger::INFO) ⇒ Logger
# File 'lib/sinatra/middleware/logger.rb', line 8
def initialize(app, level = ::Logger::INFO) @app, @level = app, level end