Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Latest commit

 

History

History
19 lines (14 loc) · 632 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 632 Bytes

Serilog.Sinks.Datadog

Build status

Sends log events using Datadog.

Package - Serilog.Sinks.Datadog | Platforms - .NET 4.5.1, netstandard1.3, netstandard2.0

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

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