Macro kernel::pr_emerg

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

Prints an emergency-level message (level 0).

Use this level if the system is unusable.

Equivalent to the kernel’s pr_emerg macro.

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

§Examples

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