Macro kernel::pr_warn[][src]

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

Prints a warning-level message (level 4).

Use this level for warning conditions.

Equivalent to the kernel’s pr_warn macro.

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

Examples

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