Skip to main content

error

Macro error 

Source
macro_rules! error {
    ( $($x:tt)+ ) => { ... };
}
Expand description

Emits an error-level tracing event.

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