macro_rules! LOG_MASK {
($($arg:tt)*) => { ... };
}
Expand description
LOG_MASK is used to create the priority mask in setlogmask.
For a single Priority mask
used with Priority
can be used with | & ! bit operations LOG_MASK()
§Examples
LOG_MASK!(Priority::LOG_ALERT) | LOG_MASK!(Priority::LOG_INFO)