deleteAllLogsByFilter static method
deleteAllLogsByFilter
This will delete logs by provided filters
Implementation
static Future<void> deleteAllLogsByFilter({List<Filter>? filters}) async {
//check to see if user provides a valid configuration and logs are enabled
//if not then don't do anything
if (_isLogsConfigValid()) {
var deleted = await _flogDao.deleteAllLogsByFilter(filters: filters!);
print("Deleted $deleted logs");
} else {
throw Exception(Constants.EXCEPTION_NOT_INIT);
}
}