Skip to content

NLog provider for Microsoft's logging for .NET Core

License

Notifications You must be signed in to change notification settings

snakefoot/NLog.Extensions.Logging

 
 

Repository files navigation

NLog

NLog.Extensions.Logging & NLog.Extensions.Hosting

NuGet Release

NuGet Release

Build status

NLog.Extensions.Logging

NLog.Extensions.Logging enables NLog as Logging Provider for Microsoft ILogger-abstraction and Dependency Injection.

Notice the standard NLog NuGet package is enough for using NLog Logger with simple console application on the .NET Core platform. Just add NLog.config file to the project, and follow the tutorial for using GetCurrentClassLogger().

NLog.Extensions.Hosting

NLog.Extensions.Hosting only introduces UseNLog() as extension-method for the IHostBuilder.

Note if using ASP.NET Core then instead install NLog.Web.AspNetCore.

Getting Started Tutorials:

About

NLog provider for Microsoft's logging for .NET Core

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 98.1%
  • PowerShell 1.9%