mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile, Logger] Update stats output, fix parsing with percieved flags; fix log command line
This commit is contained in:
@@ -57,7 +57,7 @@ namespace SabreTools.Helper
|
||||
{
|
||||
_log = new StreamWriter(File.Open(_basepath + _filename, FileMode.OpenOrCreate | FileMode.Append));
|
||||
_log.WriteLine("Logging started " + DateTime.Now);
|
||||
_log.WriteLine(GetCommandLine());
|
||||
_log.WriteLine(Environment.CommandLine);
|
||||
_log.Flush();
|
||||
}
|
||||
catch
|
||||
@@ -245,8 +245,5 @@ namespace SabreTools.Helper
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
[DllImport("kernel32.dll", CharSet = CharSet.Auto)]
|
||||
private static extern System.IntPtr GetCommandLine();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user