macro_rules! efn {
(
$($args:tt)*
) => { ... };
}
Expand description
eprintln! in a function when entering.
To signify entering a function.
Use this as the first eprintln!
in a function.
use si_trace_print::{efn, efx};
fn func1() {
efn!("hello");
}
fn main() {
efn!();
func1();
efx!();
}
prints
→main:
→func1: hello
←main:
Uses sn()
.