I am using latest Serilog.File 4.1.0
and Serilog.Sinks.Async
. Async logging works but I want the files to be rolled.
How can I enable rolling of files?
I have the following:
Log.Logger = new LoggerConfiguration()
.WriteTo.Async(a =>
{
a.File("logs/logs.log");
})
.MinimumLevel.Verbose()
.CreateLogger();