From 2db90a44c72839213a94f0545109ddd7232b975b Mon Sep 17 00:00:00 2001 From: Toastie Date: Fri, 27 Dec 2024 01:35:11 +1300 Subject: [PATCH] Made log level tags right-aligned --- Logger.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Logger.cs b/Logger.cs index e79c163..3547132 100644 --- a/Logger.cs +++ b/Logger.cs @@ -85,11 +85,11 @@ public class Logger : ILogger { LogLevel.Trace => ["[", "Trace", "] "], LogLevel.Debug => ["[", "Debug", "] "], - LogLevel.Information => ["[", "Info", "] "], - LogLevel.Warning => ["[", "Warn", "] "], + LogLevel.Information => [" [", "Info", "] "], + LogLevel.Warning => [" [", "Warn", "] "], LogLevel.Error => ["[", "Error", "] "], - LogLevel.Critical => ["[", "\u001b[1mCrit\u001b[0m", "] "], - _ => ["[", "None", "] "], + LogLevel.Critical => [" [", "\u001b[1mCrit\u001b[0m", "] "], + _ => [" [", "None", "] "], }; lock (@lock)