Add log_error!() and log_error_then!() macros which allow you to perform a severe logging call if a Result is Err.