diff --git a/ModTek/Features/Logging/Formatter.cs b/ModTek/Features/Logging/Formatter.cs index 8efa3c6..b4f5dfa 100644 --- a/ModTek/Features/Logging/Formatter.cs +++ b/ModTek/Features/Logging/Formatter.cs @@ -84,8 +84,6 @@ internal string GetFormattedLogLine(MTLoggerMessageDto messageDto) sb.Append(GetLocationString(messageDto.Location)); } - sb.Append(Environment.NewLine); - var line = sb.ToString(); if (_settings.NormalizeNewLines) @@ -99,6 +97,8 @@ internal string GetFormattedLogLine(MTLoggerMessageDto messageDto) line = line.Replace("\n", "\n\t"); } + line += "\n"; + return line; }