Add libimagutil::warn_result::*
This commit is contained in:
parent
82f08c6021
commit
0b89cd9ff9
2 changed files with 10 additions and 0 deletions
|
@ -24,3 +24,4 @@ pub mod ismatch;
|
|||
pub mod iter;
|
||||
pub mod key_value_split;
|
||||
pub mod variants;
|
||||
pub mod warn_result;
|
||||
|
|
9
libimagutil/src/warn_result.rs
Normal file
9
libimagutil/src/warn_result.rs
Normal file
|
@ -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 a new issue