mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-24 15:09:35 -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 anyhow::Result;
|
||||||
use reqwest::Url;
|
use reqwest::Url;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
use tracing::debug;
|
||||||
// #[cfg(not(test))]
|
|
||||||
// use tracing::debug;
|
|
||||||
//
|
|
||||||
// #[cfg(test)]
|
|
||||||
use std::eprintln as debug;
|
|
||||||
|
|
||||||
/// RPC client for monerod and monero-wallet-rpc.
|
/// RPC client for monerod and monero-wallet-rpc.
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
|
@ -3,9 +3,7 @@ use crate::rpc::{Request, Response};
|
|||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use reqwest::Url;
|
use reqwest::Url;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
use tracing::debug;
|
||||||
// TODO: Either use println! directly or import tracing also?
|
|
||||||
use std::println as debug;
|
|
||||||
|
|
||||||
/// JSON RPC client for monero-wallet-rpc.
|
/// JSON RPC client for monero-wallet-rpc.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
Loading…
Reference in New Issue
Block a user