Expand description
Internal functionality used by the #[traced_test] macro, repurposed for #[ctb_test].
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.
Re-exports§
pub use crate::utilities::logging::test_subscriber::MockWriter;pub use crate::utilities::logging::test_subscriber::get_subscriber;
Statics§
- INITIALIZED
- Static variable to ensure that logging is only initialized once.
Functions§
- logs_
assert - Run a function against a slice of logs for the specified scope and return its result.
- logs_
with_ scope_ contain - Return whether the logs with the specified scope contain the specified value.