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

call(env) click to toggle source
# File lib/sinatra/base.rb, line 128
def call(env)
  env['sinatra.commonlogger'] ? @app.call(env) : super
end
Also aliased as: call_without_check
call_without_check(env) click to toggle source
Alias for: call