Macro tree_decorator::tree_item_trace[][src]

macro_rules! tree_item_trace {
    ($first_style_name:ident $( : $first_style_value:expr )? $( ; $other_style_name:ident $( : $other_style_value:expr )? )* , $str:literal $($arg:tt)*) => { ... };
    ($first_style_name:ident $( : $first_style_value:expr )? $( ; $other_style_name:ident $( : $other_style_value:expr )? )*) => { ... };
    ($str:literal $($arg:tt)*) => { ... };
    () => { ... };
}
Expand description

Tree item call with a log::trace!.

It don’t do anything extra, just calls tree_item! and gives the returned value to a log::trace!.

Works the same as:

use tree_decorator::tree_item;

log::trace!("{}", tree_item!(dashed, "My tree item"));

But looks more concise and simple:

use tree_decorator::tree_item_trace;

tree_item_trace!(dashed, "My tree item");