Versions in this module Expand all Collapse all v1 v1.1.0 Feb 24, 2021 v1.0.0 Feb 24, 2021 Changes in this version + const MAX_PACKET_LEN + type Parser struct + func NewParser(buff []byte) *Parser + func (p *Parser) Dump() syslogparser.LogParts + func (p *Parser) Hostname(hostname string) + func (p *Parser) Location(location *time.Location) + func (p *Parser) Parse() error + func (p *Parser) WithHostname(h string) + func (p *Parser) WithLocation(l *time.Location) + func (p *Parser) WithPriority(pri *parsercommon.Priority) + func (p *Parser) WithTag(t string) + func (p *Parser) WithTimestampFormat(s string)