private static void SaveLog(LogData logData) { if (logData.LogClassification == LogClassificationTypes.Error) { ErrorLogs.Add(logData); } Logs.Add(logData); }