Skip to content

NLog/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 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:

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy