macro_rules! log_if_err { ($result:expr, $log_prefix:expr) => { ... }; }
Expand description
Logs an error message if the passed in result
is an error.
macro_rules! log_if_err { ($result:expr, $log_prefix:expr) => { ... }; }
Logs an error message if the passed in result
is an error.