Method: Rails::Rack::Logger#call
- Defined in:
- railties/lib/rails/rack/logger.rb
#call(env) ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'railties/lib/rails/rack/logger.rb', line 20 def call(env) request = ActionDispatch::Request.new(env) if logger.respond_to?(:tagged) logger.tagged(*(request)) { call_app(request, env) } else call_app(request, env) end end |