Move Rack::CommonLogger into it's own file
This commit is contained in:
9
lib/rack/common_logger.rb
Normal file
9
lib/rack/common_logger.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
# Disable Rack logger completely
|
||||
module Rack
|
||||
class CommonLogger
|
||||
def call(env)
|
||||
# do nothing
|
||||
@app.call(env)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user