private SyslogHeader ParseHeader(ParserContext ctx) { var header = ctx.Entry.Header = new SyslogHeader(); header.Timestamp = ctx.ParseStandardTimestamp(); header.HostName = ctx.ReadWordOrNil(); header.AppName = ctx.ReadWordOrNil(); header.ProcId = ctx.ReadWordOrNil(); header.MsgId = ctx.ReadWordOrNil(); return(header); }