seayxu / serilog-sinks-nlog

A Serilog sink that writes events to NLog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serilog.Sinks.NLog

Build status

Adapts Serilog to write events through existing NLog infrastructure.

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

You'll need to configure NLog, too.

var log = new LoggerConfiguration()
    .WriteTo.NLog()
    .CreateLogger();

About

A Serilog sink that writes events to NLog

License:Apache License 2.0


Languages

Language:C# 84.1%Language:PowerShell 15.9%