Skip to main content

reset_config

Function reset_config 

Source
pub fn reset_config()
Expand description

Drop all logging configuration: levels, handlers, console suppression.

The runner calls this before every test, so configuration set by one test cannot leak into the next — pyuvm’s run_test does the same via set_default_logging_level(INFO). Without it, a chapter that logs to a file or disables logging would silently reshape every later test.