[DatFile, Logger] Update stats output, fix parsing with percieved flags; fix log command line

This commit is contained in:
Matt Nadareski
2016-09-23 15:22:58 -07:00
parent 8a39d398a4
commit 95193effbe
4 changed files with 20 additions and 43 deletions

View File

@@ -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();
}
}