Skip to main content

trace_entry

Macro trace_entry 

Source
macro_rules! trace_entry {
    () => { ... };
    ($name:expr) => { ... };
}
Expand description

Prints function/module entry information ({module}:{line}: entry or {name}: entry).

Equivalent to C++ TRACE_ENTRY.

ยงExamples

trace_entry!();           // Prints "<module>:<line>: entry"
trace_entry!("Foo::bar"); // Prints "Foo::bar: entry"