method
tail_log
tail_log()
public
Hide source
# File railties/lib/rails/rack/log_tailer.rb, line 22 def tail_log @file.seek @cursor mod = @file.mtime.to_f if mod > @last_checked contents = @file.read @last_checked = mod @cursor += contents.size $stdout.print contents end end