Macro kernel::prelude::pr_notice

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

Prints a notice-level message (level 5).

Use this level for normal but significant conditions.

Equivalent to the kernel’s pr_notice macro.

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

Examples

pr_notice!("hello {}\n", "there");
This documentation is an old archive. Please see https://rust.docs.kernel.org instead.