Add libimagutil::warn_result::*

This commit is contained in:
Matthias Beyer 2016-08-28 14:23:32 +02:00
parent 30ce28bc29
commit 7257f2cda1
2 changed files with 10 additions and 0 deletions

View File

@ -24,3 +24,4 @@ pub mod ismatch;
pub mod iter;
pub mod key_value_split;
pub mod variants;
pub mod warn_result;

View 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); }
);