Configure binary tracing level for xmr_btc and monero_harness

pull/36/head
Lucas Soriano del Pino 4 years ago committed by rishflab
parent 5dede0f361
commit 33b36c98fa

@ -14,7 +14,10 @@ pub fn init_tracing(level: log::LevelFilter) -> anyhow::Result<()> {
let is_terminal = atty::is(Stream::Stdout);
let subscriber = FmtSubscriber::builder()
.with_env_filter(format!("swap={}", level))
.with_env_filter(format!(
"swap={},xmr_btc={},monero_harness={}",
level, level, level
))
.with_ansi(is_terminal)
.finish();

Loading…
Cancel
Save