[−][src]Macro tari_common::log_if_error_fmt
See log_if_error!.
ⓘThis code runs with edition 2018
let opt = log_if_error_fmt!(level: debug, target: "docs", "Error sending reply - custom: {}", Result::<(), _>::Err(()), "this is logged"); assert_eq!(opt, None);