1 unstable release
0.1.0 | Nov 11, 2024 |
---|
#475 in Testing
49 downloads per month
Used in 2 crates
9KB
84 lines
Convenient env_logger for testing purpose.
Example
// In lib.rs:
#[cfg(test)]
dev_logger::init!();
// In test function:
tracing::info!(name = "message");
// Set RUST_LOG=info and run the test.
Dependencies
~9–16MB
~201K SLoC