macro_rules! log_warn {
($fmt:literal, $($arg:expr),*) => { ... };
($err:expr, $fmt:literal, $($arg:expr),*) => { ... };
}Expand description
Logs an error at WARN level and returns it for optional propagation. Use this when an error should be logged but operation should continue.