FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

NLog/NLog.Extensions.Logging: NLog as Logging Provider for Microsoft Extension Logging · GitHub

Repository files navigation

NLog.Extensions.Logging & NLog.Extensions.Hosting

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 configure NLog using Fluent Setup API or add NLog.config file to the project, and follow the tutorial for using GetCurrentClassLogger().

NLog.Extensions.Hosting

NLog.Extensions.Hosting introduces UseNLog() as extension-method for the application HostBuilder, and includes the layoutrenderers ${host-rootdir} + ${host-environment} + ${host-appname}.

Note for ASP.NET Core use NLog.Web.AspNetCore.

Getting Started Tutorials:

Releases

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL