mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-01 20:07:39 +03:00
no-test-logging impl
This commit is contained in:
parent
d3f9275f7a
commit
5db953cea5
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue