clearLogs method

Future<void> clearLogs()

Clears all in-memory logs and the persisted file.

Implementation

Future<void> clearLogs() async {
  _logs.clear();
  _active.clear();
  _idCounter = 0;
  await _storage.clear();
  _notify();
}