LOG_MASK

Macro LOG_MASK 

Source
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)