Module aws_smithy_runtime::test_util::capture_test_logs
source · 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.