tracing-test
tracing-test copied to clipboard
Access and evaluate tracing logs in async and sync tests.
_So I thought this might require more code changes because my own syn update took _a lot_ of work. But it turned out it was just super easy._ This PR...
I just enabled [`tokio_unstable`](https://docs.rs/tokio/latest/tokio/#unstable-features) in my application and I see tests that make use of `logs_contain` are now panicking. Here is the line at which the code panicked in my...
https://github.com/dbrgn/tracing-test/blob/9b8aa601f00fd60c1eaf0a1642713e983282ab6a/tracing-test/src/subscriber.rs#L36-L37 Is this print really needed? for this crate to work? Can't we have thus suppressed?
[`tracing-log`](https://docs.rs/tracing-log) can capture logs from the `log` crate, it just needs to be initialized by the proc-macro. This is a nice complement to the `no-env-filter` feature added in #16. Especially...
I was running out of mem on a machine with 16Gb ram running 200+ tests with lots of calls to `trace!()`. `heaptrack` reported over 6.5Gb leaked by a tracing-subscriber `MockWriter`...
Opening PR regarding ticket #30
Hey! I'd like to make a very simple test: if there is any error-level logs output, then I want the test to fail. Error logs are useful to not crash...
I think it would be nice to somehow make the default for integration tests be that it sees trace from the crate under test but not others. It seems like...
I'm having difficulties asserting traces from inside an std thread. Is there something I overlooked, or does the capture perhaps generally fail when using `std::thread::spawn` instead of multi-threading tokio? The...
`tracing` master branch is the preparation for version 0.2. Although it has been a work in progress for quite a while, all devs happens there and it is common to...