Function testing_logger::setup [−][src]
pub fn setup()
Prepare the testing_logger
to capture log messages for a test.
Should be called from every test that calls validate()
, before any calls to the logging system.
This function will install an internal TestingLogger
as the logger if not already done so, and initialise
its thread local storage for a new test.