From 09914226720a429529a1d583cb2699e440381796 Mon Sep 17 00:00:00 2001 From: EonaCat Date: Sun, 16 Feb 2025 06:05:53 +0100 Subject: [PATCH] Updated --- EonaCat.Logger/EonaCat.Logger.csproj | 4 ++-- EonaCat.Logger/Managers/LogHelper.cs | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/EonaCat.Logger/EonaCat.Logger.csproj b/EonaCat.Logger/EonaCat.Logger.csproj index 011b2e0..3cf026d 100644 --- a/EonaCat.Logger/EonaCat.Logger.csproj +++ b/EonaCat.Logger/EonaCat.Logger.csproj @@ -3,7 +3,7 @@ .netstandard2.1; net6.0; net7.0; net8.0; net4.8; icon.ico latest - 1.3.7 + 1.3.8 EonaCat (Jeroen Saey) true EonaCat (Jeroen Saey) @@ -24,7 +24,7 @@ - 1.3.7+{chash:10}.{c:ymd} + 1.3.8+{chash:10}.{c:ymd} true true v[0-9]* diff --git a/EonaCat.Logger/Managers/LogHelper.cs b/EonaCat.Logger/Managers/LogHelper.cs index 4fe7fc9..fa1281c 100644 --- a/EonaCat.Logger/Managers/LogHelper.cs +++ b/EonaCat.Logger/Managers/LogHelper.cs @@ -54,7 +54,11 @@ internal static class LogHelper sb.Insert(0, "[EonaCatLogger] "); } - sb.Append(" ").Append(currentMessage); + if (sb.Length > 0) + { + sb.Append(" "); + } + sb.Append(currentMessage); return sb.ToString(); }