public void SetLoggingFacilityPriority(EventLog eventLog, EventLogEntryType eventLogEntryType, SyslogFacilityPriorityPair sfpp) { _registry.Write(eventLog.Log, eventLogEntryType.ToString() + "FP", sfpp.AsInt()); }
public SyslogFacilityPriorityPair LoggingFacilityPriority(EventLog eventLog, EventLogEntryType eventLogEntryType) { return(SyslogFacilityPriorityPair.ConvertIntToPair(_registry.Read(eventLog.Log, eventLogEntryType.ToString() + "FP", SyslogFacilityPriorityPair.ConvertPairToInt(16, 6)))); }