Macro si_trace_print::dpf1ñ
source · macro_rules! dpf1ñ { ( $($args:tt)* ) => { ... }; }
Expand description
debug println! in a function plus one namespace level 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::dpf1ñ;
fn func1() {
dpf1ñ!("hello");
}
fn main() {
dpfn!();
func1();
dpfx!();
}
prints
→main:
↔main::func1: hello
←main:
Uses sñ()
.
For debug builds.