Macro error

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

Logs a message at the ERROR level. The message is formatted using standard Rust formatting.

ยงExample

use loggit::error;

error!("Error occurred: {}", "example error");