Macro kernel::pr_alert

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

Prints an alert-level message (level 1).

Use this level if action must be taken immediately.

Equivalent to the kernel’s pr_alert macro.

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

§Examples

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