class Sinatra::CommonLogger
Behaves exactly like Rack::CommonLogger with the notable exception that it does nothing, if another CommonLogger
is already in the middleware chain.
Public Instance Methods
Source
# File lib/sinatra/base.rb 253 def call(env) 254 env['sinatra.commonlogger'] ? @app.call(env) : super 255 end
Calls superclass method