A Serilog sink that send events and logs staight away to Logmatic.io. By default the sink will use a TCP connection over SSL.
Package - Serilog.Sinks.Logmatic | Platforms - .NET 4.5
var log = new LoggerConfiguration()
.WriteTo.Logmatic("<API_KEY>")
.CreateLogger();
You can override the default behavior by manually specifing the following properties.
var log = new LoggerConfiguration()
.WriteTo.Logmatic(
"<API_KEY>",
ip: "app.logmatic.io",
port: 10515,
useSSL: true
)
.CreateLogger();