feat: rely on tracing-subscriber in tests (#4950)

`tracing` crate is already used within the codebase, this change allows
developers to benefit from that functionality when running and debugging
tests

Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>

Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
This commit is contained in:
Roman Volosatovs
2022-09-24 00:10:00 +02:00
committed by GitHub
parent 5a288c2c40
commit 95c74ef246
3 changed files with 3 additions and 5 deletions

View File

@@ -7,9 +7,7 @@ use std::sync::Once;
static LOG_INIT: Once = Once::new();
fn setup_log() {
LOG_INIT.call_once(|| {
pretty_env_logger::init();
})
LOG_INIT.call_once(tracing_subscriber::fmt::init)
}
include!(concat!(env!("OUT_DIR"), "/wasi_tests.rs"));