Writes Serilog events to a Sentry.io service.
var log = new LoggerConfiguration()
.WriteTo.SentryIO("{dsn-from-sentry-io-website}")
.CreateLogger();
The sink can be configured in XML app-settings format if the Serilog.Settings.AppSettings package is in use:
<add key="serilog:using:SentryIO" value="Serilog.Sinks.SentryIO" />
<add key="serilog:write-to:SentryIO.dsn" value="{dsn-from-sentry-io-website}" />
<add key="serilog:write-to:SentryIO.release" value="1.7.3" /> (optional)