macro_rules! error {
($($arg:tt)+) => { ... };
}Expand description
The level macros, reachable as crcbl_core::log::info! as well as at the
crate root.
#[macro_export] puts a macro at the crate root and nowhere else, which
would leave the macros and the sink they write to in two different places.
Re-exporting them here means log is one module whichever half a caller
wants — and it is the path the engine already used, so the crates calling
crcbl::log::info! did not have to be rewritten to reach ours.
The level macros, reachable as crcbl_core::log::info! as well as at the
crate root.
#[macro_export] puts a macro at the crate root and nowhere else, which
would leave the macros and the sink they write to in two different places.
Re-exporting them here means log is one module whichever half a caller
wants — and it is the path the engine already used, so the crates calling
crcbl::log::info! did not have to be rewritten to reach ours.
The level macros, reachable as crcbl_core::log::info! as well as at the
crate root.
#[macro_export] puts a macro at the crate root and nowhere else, which
would leave the macros and the sink they write to in two different places.
Re-exporting them here means log is one module whichever half a caller
wants — and it is the path the engine already used, so the crates calling
crcbl::log::info! did not have to be rewritten to reach ours.
Logs at Level::Error: something the run could not do.
Takes format! arguments. See log_at! for the target and for when the
arguments are built.
crcbl_core::error!("the device went away: {}", "no adapter");