Add libimagutil::warn_result::*
This commit is contained in:
parent
30ce28bc29
commit
7257f2cda1
|
@ -24,3 +24,4 @@ pub mod ismatch;
|
|||
pub mod iter;
|
||||
pub mod key_value_split;
|
||||
pub mod variants;
|
||||
pub mod warn_result;
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
generate_result_logging_extension!(
|
||||
WarnResult,
|
||||
map_warn,
|
||||
map_warn_str,
|
||||
map_warn_err,
|
||||
map_warn_err_str,
|
||||
|s| { warn!("{}", s); }
|
||||
);
|
||||
|
Loading…
Reference in New Issue