serilog-extensions-logging-file
serilog-extensions-logging-file copied to clipboard
Add file logging to ASP.NET Core apps in one line of code.
On short-lived applications such as [command line interfaces](https://github.com/dotnet/command-line-api), using `async` is not optional and logs are not written. Can we add an option to the `AddFile` to use _synchronous_ log?
What happen is I need erase log file? I need stop running service? I don't understand idea. 
https://github.com/serilog/serilog-extensions-logging-file/issues/24#issuecomment-1075714063
[Serilog.Sinks.RollingFile](https://github.com/serilog/serilog-sinks-rollingfile) is deprecated and it is recommended to [move to Serilog.Sinks.File](https://github.com/serilog/serilog-sinks-rollingfile/tree/dev?tab=readme-ov-file#migrating-to-serilogsinksfile)
* #62 - update to .NET 9, migrate to Serilog.Sinks.File, migrate to Actions build (@nblumhardt)