serilog / serilog-sinks-email

A Serilog sink that writes events to SMTP email
Apache License 2.0
70 stars 68 forks source link

Implement new IBatchedLogEventSink interface #77

Closed bcallaghan-et closed 6 months ago

bcallaghan-et commented 4 years ago

I propose modifying the EmailSink so that it implements the IBatchedLogEventSink interface rather than deriving from the PeriodicBatching class. Both are from the same package, so no new dependencies are introduced. The introduction of this interface would allow the EmailSink to be used with other batching algorithms, rather than just time-sliced batching. I will volunteer to make this change, if others find it has value.

bcallaghan-et commented 4 years ago

My team found it useful, so I started making a prototype that we can use internally, which you can find here.

nblumhardt commented 6 months ago

Thanks again for raising this; closing as stale.