Macro cgl_rs::log_error

source ·
macro_rules! log_error {
    ($($arg:tt)*) => { ... };
}
Expand description

Logs an error message with the specified format string and arguments.

Arguments

  • format - A format string for the error message.
  • args - Arguments to be formatted into the error message.

Example

cgl_rs::logger::init(true);
cgl_rs::log_error!("This is an error message with an argument: {}", 42);
// ...
cgl_rs::logger::shutdown();