Skip to content

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

License

Notifications You must be signed in to change notification settings

AbdallahAbuhussein/NLog.Extensions.Logging

 
 

Repository files navigation

NLog.Extensions.Logging

Build status Windows Build Status Linux BCH compliance

NuGet Pre Release

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

  • Installing the NuGet packages NLog.config / NLog.schema won't add to your project. It's recommend to extract (unzip) the NLog.Schema package and place the NLog.XSD in the same folder as NLog.config.
  • 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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 95.4%
  • PowerShell 4.4%
  • Batchfile 0.2%