Skip to main content

trace_enter

Macro trace_enter 

Source
macro_rules! trace_enter {
    ($name:expr) => { ... };
    ($name:expr, $($field:tt)*) => { ... };
}
Expand description

Log entering a critical section or important function.

§Example

use mabi_core::trace_enter;

fn process_batch() {
    trace_enter!("process_batch", batch_size = 100);
    // ...
}