NLog/NLog.Extensions.Logging
حول
استخدام NLog كمزوّد لتسجيل الأحداث في Microsoft Extension Logging
أدوات التطويرالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- +٢
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصل
NLog.Extensions.Logging & NLog.Extensions.Hosting
NLog.Extensions.Logging
NLog.Extensions.Logging enables NLog as Logging Provider for Microsoft ILogger-abstraction and Dependency Injection.
- Introduces
AddNLog()extension methods to register NLog as LoggingProvider for Microsoft Extension Logging. - Capture structured message properties from the Microsoft ILogger
- Capture scope context properties from the Microsoft ILogger
BeginScope - Introduces ${configsetting} for doing lookup of appsettings.json configuration settings.
- Adds support for loading NLog Configuration from appsettings.json
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:
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…