macro_rules! defx {
(
$($args:tt)*
) => { ... };
}
Expand description
debug eprintln! in a function when exiting.
To signify exiting a function.
Use this as the last eprintln!
in a function.
use si_trace_print::{defn, defx};
fn func1() {
defx!("hello");
}
fn main() {
defn!();
func1();
defx!();
}
prints
→main:
←func1: hello
←main:
Uses sx()
.
For debug builds.