Macro si_trace_print::eñ
source · macro_rules! eñ { ( $($args:tt)* ) => { ... }; }
Expand description
eprintln! 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::{efn, efx};
use si_trace_print::eñ;
fn func1() {
eñ!("hello");
}
fn main() {
efn!();
func1();
efx!();
}
prints
→main:
↔hello
←main:
Uses sñ()
.