Buffer log file writes
This commit is contained in:
parent
cb7cff80bf
commit
224d79e1df
|
@ -17,7 +17,7 @@ internal static class Program
|
||||||
|
|
||||||
Log.Logger = config
|
Log.Logger = config
|
||||||
.WriteTo.Console(theme: AnsiConsoleTheme.Sixteen, outputTemplate: outputTemplate)
|
.WriteTo.Console(theme: AnsiConsoleTheme.Sixteen, outputTemplate: outputTemplate)
|
||||||
.WriteTo.File(logPath, outputTemplate: outputTemplate)
|
.WriteTo.File(logPath, outputTemplate: outputTemplate, buffered: true)
|
||||||
.CreateLogger();
|
.CreateLogger();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue