Function spirit::utils::log_errors_named
source · pub fn log_errors_named<R, F>(target: &str, f: F) -> Result<R, Error>where
F: FnOnce() -> Result<R, Error>,
Expand description
Same as log_errors
, but with an explicit target
to log into.