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

Prints an info-level message (level 6) prefixed with device information.

This level should be used for informational messages.

Equivalent to the kernel’s dev_info macro.

Mimics the interface of std::print!. More information about the syntax is available from core::fmt and alloc::format!.

Examples


fn example(dev: &Device) {
    dev_info!(dev, "hello {}\n", "there");
}