[][src]Function spirit::utils::log_error

pub fn log_error(level: Level, target: &str, e: &Error, format: ErrorLogFormat)

Log one error on given log level.

It is printed to the log with all the causes and optionally a backtrace (if it is available and debug logging is enabled).

This is the low-level version with full customization. You might also be interested in log_errors.