sapling-dev-logger 0.1.0

Print or examine tracing output in unit tests.
Documentation

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.