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 when you have dependencies that use log and you need tests to capture those logs for failure analysis.
My current workaround is adding the init manually to every test:
tracing-log
can capture logs from thelog
crate, it just needs to be initialized by the proc-macro. This is a nice complement to theno-env-filter
feature added in #16. Especially when you have dependencies that uselog
and you need tests to capture those logs for failure analysis.My current workaround is adding the init manually to every test: