Skip to content

Added findStart() for continuing tail at last known line

Compare
Choose a tag to compare
@aigan aigan released this 09 Feb 17:05
· 49 commits to master since this release

If you want to start where you left of the tail and not miss any lines, even if the last known line has been log rotated, you can use findStart().

It will start the tail at the line matching the given regexp that passes the comparison test. Suitable for log files that has sorted values, like timestamps or number sequences.