Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.WPF/ErrorLog.cs')
-rw-r--r--UVtools.WPF/ErrorLog.cs4
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);
}