Skip to content
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

Update to Serilog.Sinks.PeriodicBatching 4.0.0 #128

Merged
merged 3 commits into from
Mar 15, 2024

Conversation

nblumhardt
Copy link
Contributor

The deprecated PeriodicBatchingSink inheritance API was removed in v4 of Serilog.Sinks.PeriodicBatching. The CloudWatchSink API should be highly-compatible with the previous version.

The new PeriodicBatchingSink implementation plays nicer with async (particularly when flushing on dispose), doesn't require a captive thread, and uses System.Threading.Channels behind the scenes, so hopefully some good perf and reliability gains.

See also datalust/serilog-sinks-seq#213

Copy link
Collaborator

@wparad wparad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small comments and then we can merge this in.

@wparad wparad merged commit ed21a96 into Cimpress-MCP:master Mar 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants