mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-01 01:38:39 +00:00
Fix all.log not having newlines
This commit is contained in:
parent
847ba3da0c
commit
0355ab5d97
3 changed files with 1 additions and 6 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -23,8 +23,4 @@
|
|||
<Compile Remove="Types\SlotXsd.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="logs" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using Kettu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue