Macro si_trace_print::deo

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

debug eprintln! with offset.

To signify printing within a function. Use this to eprintln! within a function.

use si_trace_print::{defn, defx};
use si_trace_print::deo;
fn func1() {
    deo!("hello");
}
fn main() {
    defn!();
    func1();
    defx!();
}

prints

→main:
     hello
←main:

Uses so().

For debug builds.