Class: Scrolls::Rails::Rack::QuietLogger

Inherits:
Rails::Rack::Logger
  • Object
show all
Defined in:
lib/scrolls/rails/rack/quiet_logger.rb

Instance Method Summary collapse

Instance Method Details

#call_app(request, env) ⇒ Object



9
10
11
12
13
# File 'lib/scrolls/rails/rack/quiet_logger.rb', line 9

def call_app(request, env)
  @app.call(env)
ensure
  ActiveSupport::LogSubscriber.flush_all!
end