Macro kernel::pr_crit

source ·
macro_rules! pr_crit {
    ($($arg:tt)*) => { ... };
}
Expand description

Prints a critical-level message (level 2).

Use this level for critical conditions.

Equivalent to the kernel’s pr_crit macro.

Mimics the interface of std::print!. See core::fmt and alloc::format! for information about the formatting syntax.

§Examples

pr_crit!("hello {}\n", "there");