Method: Semlogger::Rack#call_app
- Defined in:
- lib/semlogger/rack.rb
#call_app(request, env) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/semlogger/rack.rb', line 7 def call_app request, env path = request.filtered_path Semlogger.custom( :connection, request.ip, Thread.current.object_id, request.request_method, path).info @app.call env ensure ActiveSupport::LogSubscriber.flush_all! end |