Skip to main content

error

Macro error 

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

Logs a message at Level::Error.

Takes a format string literal and positional arguments, e.g. error!("connection failed: {}", err).