Versions in this module Expand all Collapse all v4 v4.1.2 Jun 10, 2022 v4.1.1 Jun 10, 2022 Changes in this version + const ANSIEscapeResetCode + const FullLogType + const LogTimeFormat + const PartialLogType + type LogLine struct + CID string + CName string + ColorID int64 + Device string + Msg string + ParseLogType string + Time time.Time + func GetLogFile(path string, options *LogOptions) (*tail.Tail, []*LogLine, error) + func NewJournaldLogLine(line string, withID bool) (*LogLine, error) + func NewLogLine(line string) (*LogLine, error) + func (l *LogLine) Partial() bool + func (l *LogLine) Since(since time.Time) bool + func (l *LogLine) String(options *LogOptions) string + func (l *LogLine) Until(until time.Time) bool + func (l *LogLine) Write(stdout io.Writer, stderr io.Writer, logOpts *LogOptions) + type LogOptions struct + Colors bool + Details bool + Follow bool + Multi bool + Since time.Time + Tail int64 + Timestamps bool + Until time.Time + UseName bool + WaitGroup *sync.WaitGroup