test.rs

1#[cfg(test)]
2#[ctor::ctor]
3fn init_logger() {
4    if std::env::var("RUST_LOG").is_ok() {
5        env_logger::init();
6    }
7}