From 643c76ff763504181de2355e4e1c4dc1eb98fc73 Mon Sep 17 00:00:00 2001 From: Justin Swanson Date: Mon, 21 Oct 2024 16:58:51 -0500 Subject: [PATCH] No colors in console Was messing up the console reading logic --- Synthesis.Bethesda.CLI/Log.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Synthesis.Bethesda.CLI/Log.cs b/Synthesis.Bethesda.CLI/Log.cs index 333bd8da..ecb8e387 100644 --- a/Synthesis.Bethesda.CLI/Log.cs +++ b/Synthesis.Bethesda.CLI/Log.cs @@ -1,4 +1,5 @@ using Serilog; +using Serilog.Sinks.SystemConsole.Themes; namespace Synthesis.Bethesda.CLI; @@ -9,7 +10,7 @@ public static class Log static Log() { Serilog.Log.Logger = GetLoggerConfig() - .WriteTo.Console() + .WriteTo.Console(theme: ConsoleTheme.None) .CreateLogger(); Logger = Serilog.Log.Logger;