method
before_dispatch
before_dispatch(env)
protected
Hide source
# File railties/lib/rails/rack/logger.rb, line 20 def before_dispatch(env) request = ActionDispatch::Request.new(env) path = request.filtered_path info "\n\nStarted #{request.request_method} \"#{path}\" " "for #{request.ip} at #{Time.now.to_default_s}" end