Macro si_trace_print::dpf1x
source · macro_rules! dpf1x { ( $($args:tt)* ) => { ... }; }
Expand description
debug println! in a function plus one namespace level when exiting.
To signify exiting a function.
Use this as the last println!
in a function.
use si_trace_print::{dpfn, dpfx};
use si_trace_print::dpf1x;
fn func1() {
dpf1x!("hello");
}
fn main() {
dpfn!();
func1();
dpfx!();
}
prints
→main:
←main::func1: hello
←main:
Uses sx()
.
For debug builds.