A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/NLog/NLog.Extensions.Logging below:

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

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 if using ASP.NET Core then instead install NLog.Web.AspNetCore.

Getting Started Tutorials:

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4