clear method

void clear()

Clears all collected output.

Implementation

void clear() {
  entries.clear();
  messages.clear();
}