{"repo":"NLog/NLog.Extensions.Logging","free":true,"listed":false,"github":"https://github.com/NLog/NLog.Extensions.Logging","clone":"git clone https://github.com/NLog/NLog.Extensions.Logging.git","description":"NLog as Logging Provider for Microsoft Extension Logging","language":"C#","stars":402,"topics":["netstandard","nlog","logging-library","csharp","dotnet","logger","logging","structured-logging","microsoft-extensions-logging","netcore"],"license":"BSD-2-Clause","category":"analytics","readme_excerpt":"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: - Getting started for .NET Core Console application - Getting started for ASP.NET Core - How to use structured logging","default_branch":null,"files":null,"tree":[],"storefront":"/r/NLog","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NLog/NLog.Extensions.Logging/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}