/// <summary> /// Erases the log file /// </summary> public void ResetCSVFile() { try { if (System.IO.File.Exists(_logCSVFilePath)) { TraceLogger.LogInformation("Deleting CSV file {0}", _logCSVFilePath); System.IO.File.Delete(_logFilePath); } } catch (Exception e) { TraceLogger.LogError(e, "resetCSVFile failed with message {0}", e.Message); } }