mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-11 23:49:41 -05:00
Configure binary tracing level for xmr_btc and monero_harness
This commit is contained in:
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…
Reference in New Issue
Block a user