mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 17:05:39 +02:00
Feature: see log button
This commit is contained in:
@@ -78,6 +78,8 @@ internal class Globals
|
||||
public static string VersionDatabase = ""; // Version - Database
|
||||
public static string VersionPerun = "DEBUG"; // Version - Perun
|
||||
|
||||
public static string LastLogLocation = ""; // Last used log location
|
||||
|
||||
public static CurrentMissionClass CurrentMission = new CurrentMissionClass(); // Actual mission information single ton
|
||||
|
||||
public static HardwareMonitorClass HardwareMonitor = new HardwareMonitorClass(); // Hardware monitor singleton
|
||||
|
||||
@@ -51,6 +51,7 @@ class LogController
|
||||
LogStreamWriter = new StreamWriter(LogFileStream);
|
||||
LogStreamWriter.WriteLine(strLog);
|
||||
LogStreamWriter.Close();
|
||||
Globals.LastLogLocation = LogFilePath;
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user