class Sinatra::Middleware::Logger

def call(env)

def call(env)
  logger = ::Logger.new(env[Rack::RACK_ERRORS])
  logger.level = @level
  env[Rack::RACK_LOGGER] = logger
  @app.call(env)
end