macro_rules! debug {
($($t:tt)*) => { ... };
}Expand description
Prints a debug message using the global Logger instance.
Not to be confused with the dbg! macro.
Warning! This macro will block if any thread holds write access to the global logger.
§Panics
Panics if the global logger’s lock is poisoned.
§Examples
Using the debug! macro:
use prettylogger::debug;
let name = String::from("world");
debug!("Hello, {name}!");