Module tracing_test::internal [−][src]
Expand description
Internal functionality used by the #[traced_test]
macro.
These functions should usually not be accessed from user code. The stability of these functions is not guaranteed, the API may change even in patch releases.
Structs
A fake writer that writes into a buffer (behind a mutex).
Statics
Static variable to ensure that logging is only initialized once.
Functions
Return a new subscriber that writes to the specified MockWriter
.
Run a function against a slice of logs and return its result.
Return whether the logs with the specified scope contain the specified value.