New feature - added simple logging to file

This commit is contained in:
szporowolik
2019-10-19 21:31:17 +02:00
parent 20d19b2670
commit 48f60abbfa
6 changed files with 51 additions and 10 deletions

View File

@@ -12,7 +12,8 @@ internal class PerunHelper
arrLogHistory[i] = arrLogHistory[i + 1]; // Shift one down
}
arrLogHistory[arrLogHistory.Length - 1] = DateTime.Now.ToString("HH:mm:ss") + " > " + strEntryToAdd; // Add entry at the last position
arrLogHistory[arrLogHistory.Length - 1] = DateTime.Now.ToString("yyyy-dd-MM HH:mm:ss") + " > " + strEntryToAdd; // Add entry at the last position
LogController.WriteLog(arrLogHistory[arrLogHistory.Length - 1]);
Globals.bLogHistoryUpdate = true;
}
public static string GetAppVersion(string strBeginning)