Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 602 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 602 Bytes

Serilog.Sinks.Datadog

Build status

Sends log events using Datadog.

Package - Serilog.Sinks.Datadog | Platforms - .NET 4.5

var config = new DatadogConfiguration()
    .WithWithStatsdServer("127.0.0.1", 8125)
    .WithHostname("my-server")
    .WithTags("tag1", "tag2");

var log = new LoggerConfiguration()
    .WriteTo.Datadog(config)
    .CreateLogger();