clearLogs static method

void clearLogs()

Implementation

static void clearLogs() {
  String path = PWConfig.errorLogPath;
  Directory(path).createSync();
  File('$path/log.txt').writeAsStringSync('');
}