Buffer log file writes

This commit is contained in:
Jarrod Doyle 2025-01-11 21:38:36 +00:00
parent cb7cff80bf
commit 224d79e1df
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}