Use full-qualified path for tracing macros

Saves an import line and makes it clear that we are using tracing.
pull/383/head
Thomas Eizinger 3 years ago
parent 5616683d7d
commit 42b6368298
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

@ -11,7 +11,6 @@ use std::str::FromStr;
use std::time::Duration;
use tokio::sync::Mutex;
use tokio::time::Interval;
use tracing::{debug, info};
use url::Url;
#[derive(Debug)]
@ -34,9 +33,9 @@ impl Wallet {
"Unable to create Monero wallet, please ensure that the monero-wallet-rpc is available",
)?;
debug!("Created Monero wallet {}", name);
tracing::debug!("Created Monero wallet {}", name);
} else {
debug!("Opened Monero wallet {}", name);
tracing::debug!("Opened Monero wallet {}", name);
}
Self::connect(client, name, env_config).await
@ -312,7 +311,7 @@ where
if tx.confirmations > seen_confirmations {
seen_confirmations = tx.confirmations;
info!(%txid, "Monero lock tx has {} out of {} confirmations", tx.confirmations, conf_target);
tracing::info!(%txid, "Monero lock tx has {} out of {} confirmations", tx.confirmations, conf_target);
}
}

Loading…
Cancel
Save