Sha256: 424979205dfca989b14c8b02aee5b84bb570d60f60febeaf2c3192c9bf11714b

Contents?: true

Size: 242 Bytes

Versions: 16

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true

# Disable useless rack logger completely!
# for some reason disable :logging doesn't work for sinatra
module Rack
  class CommonLogger
    def call(env)
      # do nothing
      @app.call(env)
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
kiev-4.9.0 lib/ext/rack/common_logger.rb
kiev-4.8.3 lib/ext/rack/common_logger.rb
kiev-4.8.2 lib/ext/rack/common_logger.rb
kiev-4.8.1 lib/ext/rack/common_logger.rb
kiev-4.8.0 lib/ext/rack/common_logger.rb
kiev-4.7.0 lib/ext/rack/common_logger.rb
kiev-4.6.0 lib/ext/rack/common_logger.rb
kiev-4.5.0 lib/ext/rack/common_logger.rb
kiev-4.4.0 lib/ext/rack/common_logger.rb
kiev-4.3.0 lib/ext/rack/common_logger.rb
kiev-4.2.0 lib/ext/rack/common_logger.rb
kiev-4.1.0 lib/ext/rack/common_logger.rb
kiev-4.0.0 lib/ext/rack/common_logger.rb
kiev-3.0.0 lib/ext/rack/common_logger.rb
kiev-2.8.0 lib/ext/rack/common_logger.rb
kiev-2.7.3 lib/ext/rack/common_logger.rb