C#: tail like program for text file

前端 未结 4 772
后悔当初
后悔当初 2020-12-30 11:18

I have a log file that continually logs short lines. I need to develop a service that reacts (or polls, or listens to) to new lines added to that file, a sort of unix\' tail

4条回答
  •  别那么骄傲
    2020-12-30 11:29

    You haven't really explained whether you need a tail-like program for Windows i.e. http://www.baremetalsoft.com/baretail/ or if you want a windows version of tail (use cygwin) or if you're looking for some sort of log monitoring API....

提交回复
热议问题