serilog-extensions-logging-file icon indicating copy to clipboard operation
serilog-extensions-logging-file copied to clipboard

Add file logging to ASP.NET Core apps in one line of code.

Results 15 serilog-extensions-logging-file issues
Sort by recently updated
recently updated
newest added

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. ![image](https://github.com/serilog/serilog-extensions-logging-file/assets/30245713/99e04a88-aaeb-43ca-8922-eca113a959d1)

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)