Make use of `cargo test`s scoped test output

By using `test_writer`, cargo can automatically scope the output
of the test to the relevant thread and will also only output it
if the test fails or is run with `--nocapture`.
pull/383/head
Thomas Eizinger 3 years ago
parent 908dae3442
commit 4ab7e83806
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

@ -321,6 +321,7 @@ where
let _guard = tracing_subscriber::fmt()
.with_env_filter("warn,swap=debug,monero_harness=debug,monero_rpc=info,bitcoin_harness=info,testcontainers=info")
.with_test_writer()
.set_default();
let env_config = C::get_config();

Loading…
Cancel
Save