Home
Softono

NLog.Extensions.Logging

Open source BSD-2-Clause C#
403
Stars
149
Forks
3
Issues
20
Watchers
3 months
Last Commit

 About NLog.Extensions.Logging

NLog as Logging Provider for Microsoft Extension Logging

Platforms

Web Self-hosted Windows

Languages

C#

Need Help Installing NLog.Extensions.Logging?

We provide expert installation service for this software. Our team will install, configure, and secure NLog.Extensions.Logging on your server. plans start at just $30.

NLog.Extensions.Logging

View on GitHub

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: