clear method

void clear()

Clears all captured logs.

Implementation

void clear() {
  logs.clear();
}