Macro pw_log::criticalf

source ·
macro_rules! criticalf {
    ($($args:expr),*) => { ... };
}
Expand description

Emit a critical level log message using printf format string semantics.

use pw_log::{criticalf, LogLevel};

criticalf!(
    "Log Fact: Until the %dth century, all ships' masts were made from a single log.",
    19);