Macro si_trace_print::ex

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

eprintln! when exiting.

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

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

prints

→main:
    ←hello
←main:

Uses sx().