Macro si_trace_print::pf2ñ

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

println! in a function plus two namespace levels when entering and exiting.

To signify entering and exiting a function. Use this as the only println! in a function. Most suited for short functions.

use si_trace_print::{pfn, pfx};
use si_trace_print::pf2ñ;
fn func1() {
    pf2ñ!("hello");
}
fn main() {
    pfn!();
    func1();
    pfx!();
}

prints

→main:
    ↔si_trace_print::main::func1: hello
←main:

Uses sñ().