clear method

void clear()

Clears the recorded log records. Call between tests.

Implementation

void clear() => _records.clear();