From 224d79e1df79a8a51151a628ed5030a4215c5f6f Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Sat, 11 Jan 2025 21:38:36 +0000 Subject: [PATCH] Buffer log file writes --- KeepersCompound.Lightmapper/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KeepersCompound.Lightmapper/Program.cs b/KeepersCompound.Lightmapper/Program.cs index fd289f6..82e7d37 100644 --- a/KeepersCompound.Lightmapper/Program.cs +++ b/KeepersCompound.Lightmapper/Program.cs @@ -17,7 +17,7 @@ internal static class Program Log.Logger = config .WriteTo.Console(theme: AnsiConsoleTheme.Sixteen, outputTemplate: outputTemplate) - .WriteTo.File(logPath, outputTemplate: outputTemplate) + .WriteTo.File(logPath, outputTemplate: outputTemplate, buffered: true) .CreateLogger(); }