Function assertx::setup_logging_test[][src]

pub fn setup_logging_test() -> Arc<dyn LogInspector>

Sets up the test logger and registers it with the log library. Initialisation is lazy and will not be repeated in the same execution context. This may lead to unexpected behaviour as the test logger is not reset between tests. This is a known issue and will be fixed in a future release (Pull requests welcome!)