serilog / serilog-sinks-email

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

EagerlyEmitFirstEvent #82

Closed ktodyruik closed 6 months ago

ktodyruik commented 4 years ago

It appears that in PeriodicBatchingSink, EagerlyEmitFirstEvent defaults to true. And I don't see this being exposed in the EmailSink to change this.

Can anyone comment on this? This is confusing. Would it be possible to change this or expose it so that it can be set to false?

0xced commented 3 years ago

Actually, EagerlyEmitFirstEvent is automatically set to false but it's not configurable.

nblumhardt commented 6 months ago

The new 3.0.0-dev versions make all batching options configurable. HTH!