macro_rules! log_warn {
($($arg:tt)*) => { ... };
}
Expand description
ยงMacro rules - log_warn!
The log_warn macro takes any number of arguments and formats them using the format! macro. It then gets the current time using the current_time function from the crate and calls the warn function from the crate with the current time and formatted message.