diff options
Diffstat (limited to 'UVtools.WPF/ErrorLog.cs')
-rw-r--r-- | UVtools.WPF/ErrorLog.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.WPF/ErrorLog.cs b/UVtools.WPF/ErrorLog.cs index d918064..7e2f229 100644 --- a/UVtools.WPF/ErrorLog.cs +++ b/UVtools.WPF/ErrorLog.cs @@ -15,7 +15,7 @@ namespace UVtools.WPF try { File.AppendAllText(FullPath, - $"({errorType}) @ {DateTime.Now}: {text}{Environment.NewLine}"); + $"[v{App.VersionStr}] ({errorType}) @ {DateTime.Now}: {text}{Environment.NewLine}"); } catch (Exception exception) { @@ -23,7 +23,7 @@ namespace UVtools.WPF } } - public static StreamWriter AppendText() + public static StreamWriter GetStreamWriter() { return File.AppendText(FullPath); } |