macro_rules! profile {
($label:expr, $func:expr) => { ... };
}Expand description
Utility macro that profiles code and nests the logging output.
use tree_logger::TreeLogger;
TreeLogger::new().with_colors(true).with_threads(true).init().unwrap();
log::warn!("This is an example message.");