Rename testOutputString to accumulatedTestOutput and provide a mechanism to fetch the last output line.
Convert _logs to ArrayBuffer (from Queue) and use a last-printed index to track what's been printed so far.
This allows is to keep a single copy of all the printf output, accessible on an individual line basis (if so-desired).
Rename testOutputString to accumulatedTestOutput and provide a mechanism to fetch the last output line. Convert _logs to ArrayBuffer (from Queue) and use a last-printed index to track what's been printed so far. This allows is to keep a single copy of all the printf output, accessible on an individual line basis (if so-desired).