mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-23 22:49:41 -05:00
monero-harness: Use tracing
This commit is contained in:
parent
9384b0cf3c
commit
be37725303
@ -6,12 +6,7 @@ use crate::{
|
||||
use anyhow::Result;
|
||||
use reqwest::Url;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
// #[cfg(not(test))]
|
||||
// use tracing::debug;
|
||||
//
|
||||
// #[cfg(test)]
|
||||
use std::eprintln as debug;
|
||||
use tracing::debug;
|
||||
|
||||
/// RPC client for monerod and monero-wallet-rpc.
|
||||
#[derive(Debug, Clone)]
|
||||
|
@ -3,9 +3,7 @@ use crate::rpc::{Request, Response};
|
||||
use anyhow::Result;
|
||||
use reqwest::Url;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
// TODO: Either use println! directly or import tracing also?
|
||||
use std::println as debug;
|
||||
use tracing::debug;
|
||||
|
||||
/// JSON RPC client for monero-wallet-rpc.
|
||||
#[derive(Debug)]
|
||||
|
Loading…
Reference in New Issue
Block a user