Add small test for getFieldValue function #8

Merged

View file

@ -51,8 +51,8 @@ const (
// LogFacmask is used to extract facility part of the message. // LogFacmask is used to extract facility part of the message.
const LogFacmask = 0x03f8 const LogFacmask = 0x03f8
// SyslogFields contains slice of fields that // SyslogFields contains slice of fields that are
// indexed with syslog by default. // indexed by syslog by default.
var SyslogFields = []string{ var SyslogFields = []string{
SyslogFacilityField, SyslogFacilityField,
SyslogIdentifierField, SyslogIdentifierField,