clearLogs static method

Future<void> clearLogs()

Clears all logs.

Implementation

static Future<void> clearLogs() async {
  await _logger.logStorage.deleteOldLogs(0);
}