Macro si_trace_print::dpf2ñ
source · macro_rules! dpf2ñ { ( $($args:tt)* ) => { ... }; }
Expand description
debug println! in a function plus two namespace levels when entering and exiting.
To signify entering and exiting a function.
Use this as the only println!
in a function.
Most suited for short functions.
use si_trace_print::{dpfn, dpfx};
use si_trace_print::dpf2ñ;
fn func1() {
dpf2ñ!("hello");
}
fn main() {
dpfn!();
func1();
dpfx!();
}
prints
→main:
↔si_trace_print::main::func1: hello
←main:
Uses sñ()
.
For debug builds.