Closed carlopantaleo closed 3 years ago
AppVeyor build with Visual Studio 2017 fails because tests target also .NET Core. The build on Ubuntu succeeds, indeed...
Ok thank you AppVeyor error is because if donet3.1 target which is not compatible with visual studio 2017. I will restaure target donet2.2
I added the option
rollOnEachProcessRun
toLoggerConfiguration
which, if set tofalse
, mimics the behaviour of log4net. That is:logfile.log
is created.logfile.log
logfile20210521.log
(orlogfile20210521-001.log
etc. if locked or if it already existed) and a newlogfile.log
is created.logfile.log
Those changes should not be breaking, because the option
rollOnEachProcessRun
is defaulted totrue
which is the previous behaviour. I also added some unit tests for completeness.