cocowalla / serilog-sinks-file-header

Plugin for the Serilog File sink that writes a header at the start of each log file
Apache License 2.0
10 stars 3 forks source link

Option to always write the header #1

Closed cocowalla closed 4 years ago

cocowalla commented 5 years ago

At present the header is only written for new files, but some may want to always write the header (e.g. to make it clear that the process restarted, when the app for some reason doesn't log something itself).

I can't imagine this is a common use case, since most apps will log something on startup anyway, but it's very simple to make it configurable.