clear method

void clear()

Clears all entries from the log.

Implementation

void clear() {
  _entries.clear();
  _version.value++;
}