no-test-logging impl

This commit is contained in:
Nikolay Kim 2025-03-14 20:11:28 +05:00
parent d3f9275f7a
commit 5db953cea5

View file

@ -126,6 +126,7 @@ pub mod util {
#[doc(hidden)]
pub fn enable_test_logging() {
#[cfg(not(feature = "no-test-logging"))]
if std::env::var("NTEX_NO_TEST_LOG").is_err() {
if std::env::var("RUST_LOG").is_err() {
std::env::set_var("RUST_LOG", "trace");