Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NLog as Logging Provider for Microsoft Extension Logging

License

NotificationsYou must be signed in to change notification settings

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 forMicrosoft ILogger-abstraction and Dependency Injection.

Notice the standardNLog NuGet package is enough for using NLog Logger with simple console application on the .NET Core platform.Just configure NLog usingFluent Setup API or addNLog.config file to the project, and follow thetutorial for usingGetCurrentClassLogger().

NLog.Extensions.Hosting

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

Note if usingASP.NET Core then instead installNLog.Web.AspNetCore.

Getting Started Tutorials:


[8]ページ先頭

©2009-2025 Movatter.jp