From 493545d07fd23f07ecc9742a4379ffc1a8cb8cb8 Mon Sep 17 00:00:00 2001 From: Philipp Hoenisch Date: Wed, 12 May 2021 15:50:00 +1000 Subject: [PATCH] Improve logging for Swap Cli. --- swap/src/bin/swap.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/swap/src/bin/swap.rs b/swap/src/bin/swap.rs index 9e255987..0daa0289 100644 --- a/swap/src/bin/swap.rs +++ b/swap/src/bin/swap.rs @@ -343,7 +343,12 @@ where { debug!("Requesting quote"); let bid_quote = bid_quote.await?; - info!("Received quote: 1 XMR ~ {}", bid_quote.price); + info!( + minimum_amount = %bid_quote.min_quantity, + maximum_amount = %bid_quote.max_quantity, + "Received quote: 1 XMR ~ {}", + bid_quote.price + ); let mut current_maximum_giveable = max_giveable().await?;