Macro flipperzero::trace

source ·
macro_rules! trace {
    (target: $target:expr, $msg:expr $(, $arg:expr)*) => { ... };
    ($msg:expr $(, $arg:expr)*) => { ... };
}
Expand description

Logs a message at the trace level.

Examples

use flipperzero::trace;

let name = "Flipper";

trace!("About to show how the target field works");
trace!(target: "events", "Scanning for events involving {}", name);