-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OnFileRemoving life cycle hook #106 #107
Conversation
If there is no more issues. Please Merge branch :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Once we've figured out the general direction there's usually a round of nit-picking changes like this for docs etc. - I've added a few comments, let me know if you think any of these misses the mark.
Thanks for the updates - this is looking good! Did you have a chance to investigate how this might be tested? Here's an example of the other existing hook being tested: https://github.com/serilog/serilog-sinks-file/blob/dev/test/Serilog.Sinks.File.Tests/FileSinkTests.cs#L183 - and here's an example of a rolling test that deals with multiple file deletion: https://github.com/serilog/serilog-sinks-file/blob/dev/test/Serilog.Sinks.File.Tests/RollingFileSinkTests.cs#L56 |
Test added |
Great! Thanks for the contribution 👍 This should be out as a |
Add OnFileRemoving life cycle hook #106