macro_rules! pr_cont {
($($arg:tt)*) => { ... };
}
Expand description
Continues a previous log message in the same line.
Use only when continuing a previous pr_*!
macro (e.g. pr_info!
).
Equivalent to the kernel’s pr_cont
macro.
Mimics the interface of std::print!
. See core::fmt
and
alloc::format!
for information about the formatting syntax.
Examples
pr_info!("hello");
pr_cont!(" {}\n", "there");