Macro cgl_rs::log_warning

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

Logs a warning message with the specified format string and arguments.

Arguments

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

Example

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