Log "nn.nnn coins spent using strategy ..." on log level Debug (#326)

* Log "nn.nnn coins spent using strategy ..." on log level Debug
* util::logger whitespace/cleanup
Add code comment about LOGGING_CONFIG injection
This commit is contained in:
Simon B
2017-11-19 19:34:43 +01:00
committed by Ignotus Peverell
parent 2d1ed9ba52
commit 08a277f8d1
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -438,7 +438,7 @@ fn wallet_command(wallet_args: &ArgMatches) {
(selection_strategy == "all"),
);
match result {
Ok(_) => {}, //success messaged logged internally
Ok(_) => { debug!(LOGGER, "{} coins sent using strategy {} to {}", amount.to_string(), selection_strategy, dest) }, //success messaged logged internally
Err(wallet::Error::NotEnoughFunds(_)) => {},
Err(e) => panic!(e),
};