mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 18:05:40 +02:00
New feature - added simple logging to file
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user