Tail
ma.chinespirit.tailf.Tail
object Tail
Members list
Value members
Concrete methods
def follow(file: File, maxRetries: Int, waitToOpen: Int, waitBetweenReads: Int): Either[Throwable, InputStream]
Create InputStream reading from a log file
Create InputStream reading from a log file
Calls follow with reasonable defaults: 3 open retries 1 second waiting for new file after the previous has disappeared 0.1 second waiting between reads
Attributes
Create InputStream reading from a log file
Create InputStream reading from a log file
Creates an Input Stream reading from a growing file, that may be rotated as well
Value parameters
- file
-
File handle to the log file
Attributes
- Returns
-
InputStream object
In this article