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