Fix all.log not having newlines

This commit is contained in:
jvyden 2021-10-21 01:18:37 -04:00
commit 0355ab5d97
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
3 changed files with 1 additions and 6 deletions

View file

@ -11,7 +11,7 @@ namespace LBPUnion.ProjectLighthouse.Logging {
FileHelper.EnsureDirectoryCreated(logsDirectory);
File.AppendAllText(Path.Combine(logsDirectory, line.LoggerLevel + ".log"), line + "\n");
File.AppendAllText(Path.Combine(logsDirectory, "all.log"), line.ToString());
File.AppendAllText(Path.Combine(logsDirectory, "all.log"), line + "\n");
}
}
}

View file

@ -23,8 +23,4 @@
<Compile Remove="Types\SlotXsd.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="logs" />
</ItemGroup>
</Project>

View file

@ -1,4 +1,3 @@
using System;
using System.Diagnostics;
using System.IO;
using Kettu;