serilog-contrib / serilog-sinks-slack

A simple (yet customizable) Slack logging sink for Serilog
MIT License
40 stars 28 forks source link

Add support for overriding options via LogEvent properties #22

Closed markalroberts closed 5 years ago

markalroberts commented 6 years ago

Add support to allow per-LogEvent overrides of Slack settings - usefull if you want a custom UserName/Icon per message.

Also, there was a small bug with calling dispose of Http client before calling base dispose - calling base dispose flushes messages and can then result in accessing disposed Client.

Needed to upgrade to VS2017 (csproj) as xproj is not supported any more.