Macro si_trace_print::efñ

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

eprintln! in a function 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::efñ;
fn func1() {
    efñ!("hello");
}
fn main() {
    efn!();
    func1();
    efx!();
}

prints

→main:
    ↔func1: hello
←main:

Uses sñ().