Skip to main content

debug

Macro debug 

Source
macro_rules! debug {
    ($($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::Debug: detail for someone reading this subsystem.

crcbl_core::debug!("shell event: {:?}", "Resized");