[−][src]Function syslog_loose::decompose_pri
pub fn decompose_pri(pri: u8) -> (SyslogFacility, SyslogSeverity)
The pri field is composed of both the facility and severity values. The first byte is the Severity, the remaining are the Facility.