Skip to content

logmatic/serilog-sinks-logmatic

Repository files navigation

Serilog.Sinks.Logmatic

NuGet Version Build status

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();

About

Serilog sink to send logs to Logmatic.io.

Resources

License

Stars

Watchers

Forks

Packages

No packages published