mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-18 22:50:31 -04:00
Configure binary tracing level for xmr_btc and monero_harness
This commit is contained in:
parent
5dede0f361
commit
33b36c98fa
1 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,10 @@ pub fn init_tracing(level: log::LevelFilter) -> anyhow::Result<()> {
|
||||||
|
|
||||||
let is_terminal = atty::is(Stream::Stdout);
|
let is_terminal = atty::is(Stream::Stdout);
|
||||||
let subscriber = FmtSubscriber::builder()
|
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)
|
.with_ansi(is_terminal)
|
||||||
.finish();
|
.finish();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue