macro_rules! dev_emerg {
($($f:tt)*) => { ... };
}
Expand description
Prints an emergency-level message (level 0) prefixed with device information.
This level should be used if the system is unusable.
Equivalent to the kernel’s dev_emerg
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_emerg!(dev, "hello {}\n", "there");
}