code: func (p *Parser) Init(options interface{}) error {
  	p.conf = *options.(*Options)
  	lineParser, err := NewSyslogLineParser(p.conf.Mode, p.conf.ProcessList)
  	if err != nil {
  		return err
  	}
  	p.lineParser = lineParser
  	return nil
  }
docs: // Init constructs our parser from the provided options