Available on crate feature
test-util
only.Expand description
Utility for capturing and displaying logs during a unit test.
Structs§
- A guard that resets log capturing upon being dropped.
- Receiver for the captured logs.
Functions§
- Capture logs from this test.
- Enables output of test logs to stdout at trace level by default.