mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 18:05:40 +02:00
CPU and RAM data will be now logged into file
This commit is contained in:
@@ -92,7 +92,7 @@ internal class PerunHelper
|
|||||||
Globals.AppUpdateGUI = true;
|
Globals.AppUpdateGUI = true;
|
||||||
}
|
}
|
||||||
// Add the entry to log file
|
// Add the entry to log file
|
||||||
LogController.instance.WriteLog(logLevel, DateTime.Now.ToString("yyyy-MM-dd ") + " " + DateTime.Now.ToString("HH:mm:ss.fff") + " | Instance: " + Globals.AppInstanceID + " | " + LogMarker + " | " + LogDirection + " | " + strType + " | " + strEntryToAdd);
|
LogController.instance.WriteLog(logLevel, DateTime.Now.ToString("yyyy-MM-dd ") + " " + DateTime.Now.ToString("HH:mm:ss.fff") + " | " + Globals.HardwareMonitor.LastCurrentCpuUsage + " | " + Globals.HardwareMonitor.LastCurrentRamUsage + " | " + Globals.AppInstanceID + " | " + LogMarker + " | " + LogDirection + " | " + strType + " | " + strEntryToAdd);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Gets build version
|
// Gets build version
|
||||||
|
|||||||
Reference in New Issue
Block a user