From 0355ab5d971920c59c5162566fa4e86e5fb2f2f1 Mon Sep 17 00:00:00 2001 From: jvyden Date: Thu, 21 Oct 2021 01:18:37 -0400 Subject: [PATCH] Fix all.log not having newlines --- ProjectLighthouse/Logging/LighthouseFileLogger.cs | 2 +- ProjectLighthouse/ProjectLighthouse.csproj | 4 ---- ProjectLighthouse/Startup.cs | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/ProjectLighthouse/Logging/LighthouseFileLogger.cs b/ProjectLighthouse/Logging/LighthouseFileLogger.cs index a19b4361..5276d806 100644 --- a/ProjectLighthouse/Logging/LighthouseFileLogger.cs +++ b/ProjectLighthouse/Logging/LighthouseFileLogger.cs @@ -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"); } } } \ No newline at end of file diff --git a/ProjectLighthouse/ProjectLighthouse.csproj b/ProjectLighthouse/ProjectLighthouse.csproj index 0fccd949..b7a138f8 100644 --- a/ProjectLighthouse/ProjectLighthouse.csproj +++ b/ProjectLighthouse/ProjectLighthouse.csproj @@ -23,8 +23,4 @@ - - - - diff --git a/ProjectLighthouse/Startup.cs b/ProjectLighthouse/Startup.cs index 5ef7cd7c..d83ff302 100644 --- a/ProjectLighthouse/Startup.cs +++ b/ProjectLighthouse/Startup.cs @@ -1,4 +1,3 @@ -using System; using System.Diagnostics; using System.IO; using Kettu;