FantasticFiasco / serilog-sinks-udp

A Serilog sink sending UDP packages over the network.
Apache License 2.0
30 stars 15 forks source link

Version 9 does not work with Serilog.Sinks.PeriodicBatching 4.0.0 #196

Closed sergey-messer closed 6 months ago

sergey-messer commented 6 months ago

Try to add Serilog.Sinks.Udp 9 Serilog.Sinks.Mail 3 (with dependence Serilog.Sinks.PeriodicBatching >=4.0.0) in same project

Get Exception

Could not load type 'Serilog.Sinks.Udp.Private.BatchingSink' from assembly 'Serilog.Sinks.Udp, Version=9.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10' because the parent type is sealed.

github-actions[bot] commented 6 months ago

Hi there and welcome to this repository!

A maintainer will be with you shortly, but first and foremost I would like to thank you for taking the time to report this issue. Quality is of the highest priority for us, and we would never release anything with known defects. We aim to do our best but unfortunately you are here because you encountered something we didn't expect. Lets see if we can figure out what went wrong and provide a remedy for it.

FantasticFiasco commented 6 months ago

Thanks for reporting this. The reason is probably that I haven't updated Serilog.Sinks.PeriodicBatching for a while. Will look into it.

FantasticFiasco commented 6 months ago

I've published a new version that will fix this issue, see v10.0.0.

Thanks for reporting it!