call(env) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/rack/logger.rb, line 13
      def call(env)
        response = @app.call(env)
        ::File.open(@path, 'r') do |f|
          f.seek @cursor
          if f.mtime > @last_checked
            contents = f.read
            @last_checked = f.mtime
            @cursor += contents.length
            print contents
          end
        end
        response
      end
Register or log in to add new notes.