Macro si_trace_print::efx

source ·
macro_rules! efx {
    (
        $($args:tt)*
    ) => { ... };
}
Expand description

eprintln! in a function when exiting.

To signify exiting a function. Use this as the last eprintln! in a function.

use si_trace_print::{efn, efx};
fn func1() {
    efx!("hello");
}
fn main() {
    efn!();
    func1();
    efx!();
}

prints

→main:
    ←func1: hello
←main:

Uses sx().