Documentation ¶
Overview ¶
Package tailer provides a class that is responsible for tailing log files and extracting new log lines to be passed into the virtual machines.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Lines chan<- string W watcher.Watcher // Not required, will use watcher.LogWatcher if it is zero. FS afero.Fs // Not required, will use afero.OsFs if it is zero. }
Options configures a Tailer
type Tailer ¶
type Tailer struct {
// contains filtered or unexported fields
}
Tailer receives notification of changes from a Watcher and extracts new log lines from files. It also handles new log file creation events and log rotations.
Click to show internal directories.
Click to hide internal directories.