Closed
Description
Came from serilog/serilog-sinks-file#40 and found out that I already had the correct nuget package.
Somehow I get this error.
Log.Logger = new LoggerConfiguration()
.WriteTo.File("MyLogFile.log", rollingInterval: RollingInterval.Day, outputTemplate: outputTemplate, preserveLogFilename: true)
.CreateLogger();
Somehow it does not see the preserveLogFilename parameter as mentioned on the readme.
I use .NET 5 RC1 with all the newest prereleases (if available), but still this problem.
Thanks in advance!