Fix log variable substitution

This commit is contained in:
Caelan
2022-06-08 13:57:52 -06:00
parent 802efbf31f
commit d20cbbea03

View File

@@ -10,8 +10,8 @@ namespace Squirrel.CommandLine
private readonly object gate = new object(); private readonly object gate = new object();
private readonly string localAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData); private readonly string localAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData).TrimEnd('/', '\\');
private readonly string localTemp = Path.GetTempPath(); private readonly string localTemp = Path.GetTempPath().TrimEnd('/', '\\');
public void Write(string message, LogLevel logLevel) public void Write(string message, LogLevel logLevel)
{ {