Move Rack::CommonLogger into it's own file

This commit is contained in:
Garret Alfert 2013-08-08 17:12:16 +02:00
parent 53256ecc00
commit 6770a8cfb1
2 changed files with 10 additions and 10 deletions

View File

@ -0,0 +1,9 @@
# Disable Rack logger completely
module Rack
class CommonLogger
def call(env)
# do nothing
@app.call(env)
end
end
end

View File

@ -4,18 +4,9 @@ require "json"
require "sinatra/base"
require 'sinatra/config_file'
require "sinatra/reloader"
require "rack/common_logger"
require "remote_storage/riak"
# Disable Rack logger completely
module Rack
class CommonLogger
def call(env)
# do nothing
@app.call(env)
end
end
end
class LiquorCabinet < Sinatra::Base
#