terminate method
Cleans up and finalizes all logs.
If this is not called, the logs may be left in an incomplete/invalid format.
Usually, a reasonable place to put this is in ROHD's
Simulator.registerEndOfSimulationAction
.
Implementation
Future<void> terminate() async {
await Future.wait(_dumpers.map((dumper) => dumper.terminate()));
}