clear method

void clear()

Drops every recorded event and every captured frame. The cache is untouched.

Implementation

void clear() {
  _log.clear();
  _ring?.clear();
}