This PR adds support for hierarchical logging contexts:
The root context is now called tb
There are distinct contexts for test orchestration (tb.orchestration), scoreboard (tb.scoreboard.*), drivers (tb.driver.*), monitors (tb.monitor.*), test cases (tb.testcase.*) and I/O (tb.io.*);
Hierarchical verbosity levels can be controlled via the test parameters JSON file.
NOTE This is a breaking change because test cases will now be provided with a new second argument of log, which is a context-specific logging instance - e.g.:
This PR adds support for hierarchical logging contexts:
tb
tb.orchestration
), scoreboard (tb.scoreboard.*
), drivers (tb.driver.*
), monitors (tb.monitor.*
), test cases (tb.testcase.*
) and I/O (tb.io.*
);NOTE This is a breaking change because test cases will now be provided with a new second argument of
log
, which is a context-specific logging instance - e.g.: