Skip to main content

event

Macro event 

Source
macro_rules! event {
    ( $level:expr_2021, $($x:tt)+ ) => { ... };
}
Expand description

Emits a tracing event at a caller-supplied level.

The macro forwards tracing fields and message tokens to tracing::event!. Project code can use it without importing the tracing crate directly.