pub fn log_error(target: &str, e: &Error)
Log one error
It is printed to the log with all the causes and optionally a backtrace (if it is available and debug logging is enabled).