Versions in this module Expand all Collapse all v1 v1.5.5 May 18, 2020 Changes in this version + const DetectedLeftLog + const DetectedRFC3164 + const DetectedRFC5424 + const DetectedRFC6587 + func DetectType(data []byte) (detected int) + type Automatic struct + func (f *Automatic) GetParser(line []byte) Parser + func (f *Automatic) IsNewLine(data []byte) bool + type Format interface + GetParser func([]byte) Parser + IsNewLine func(data []byte) bool + func GetFormat(format string, parseYear bool) Format + type LogParts map[string]interface + type Parser interface + Dump func() LogParts + Location func(*time.Location) + NeedModifyTime func() bool + Parse func() error + type RFC3164 struct + func (f *RFC3164) GetParser(line []byte) Parser + func (f *RFC3164) IsNewLine(data []byte) bool + type RFC5424 struct + func (f *RFC5424) GetParser(line []byte) Parser + func (f *RFC5424) IsNewLine(data []byte) bool + type RFC6587 struct + func (f *RFC6587) GetParser(line []byte) Parser + func (f *RFC6587) IsNewLine(data []byte) bool