macro_rules! err {
($($t:tt)*) => { ... };
}Expand description
Prints an error using the global Logger instance.
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 err! macro:
use prettylogger::err;
let name = String::from("world");
err!("Hello, {name}!");