serilog / serilog-sinks-debug

Writes Serilog events to the debug output window
Apache License 2.0
33 stars 10 forks source link

Consider adding the new IBatchedLogEventSink interface #16

Open gogo199432 opened 2 months ago

gogo199432 commented 2 months ago

According to release notes, Serilog 4 introduced a new interface that enables easily making sinks to async. My company uses this sink and it would be interesting to see if making it async improves the speed of our debugging sessions.

https://github.com/serilog/serilog/pull/2055

nblumhardt commented 2 months ago

Thanks for the note. I think you're looking for Serilog.Sinks.Async: https://github.com/serilog/serilog-sinks-async, this isn't (yet) baked into the Serilog package, but it implements backgrounding of arbitrary sinks like this one. HTH!