olegon / NLog.Extensions.Logging

NLog provider for Microsoft's logging for .NET Core class libaries and console applications

Home Page:http://nlog-project.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NLog.Extensions.Logging

NuGet Pre Release Build status Windows Build Status Linux

BCH compliance

NLog provider for Microsoft.Extensions.Logging; .NET Core. ASP.NET Core users should install NLog.Web.AspNetCore.

Routes .NET Core log messages to NLog.

Note: Microsoft haven't ported all their classes to .NET standard, so not every target/layout renderer is available. Please check platform support

Getting started

Known issues

  • auto load of NLog extensions won't work yet. Use <extensions> (see below)

How to run the example (aspnet-core-example)

How to run the aspnet-core-examples:

  1. Install dotnet: http://dot.net
  2. From source: dotnet run
  3. or, after publish: dotnet aspnet-core-example.dll

About

NLog provider for Microsoft's logging for .NET Core class libaries and console applications

http://nlog-project.org/

License:BSD 2-Clause "Simplified" License


Languages

Language:C# 93.6%Language:PowerShell 6.4%