detect

Macro log_if_err

Source
macro_rules! log_if_err {
    ($result:expr, $log_prefix:expr) => { ... };
}
Expand description

Logs an error message if the passed in result is an error.