Top "Microsoft-extensions-logging" questions

Use NLog in ASP.NET Core application

I found a CodeProject with an example of how to get this to work, but it doesn't work. The main …

c# asp.net-core logging nlog microsoft-extensions-logging
ASP.NET 5: How to configure the path of logs in Microsoft.Extensions.Logging

I'm working on an MVC6 web app and I'm new to ASP.NET 5. I can see that the Logging (Microsoft.…

asp.net-core asp.net-core-mvc microsoft-extensions-logging
Implementation and usage of logger wrapper for Microsoft.Extensions.Logging

This question is related to Steven’s answer - here. He proposed a very good logger wrapper. I will paste …

c# .net logging microsoft-extensions-logging
How to log to database using the built-in Asp.Net core logging (Microsoft.Extensions.Logging)?

I have the following code to set up logging to database using NLog. I use an Alpha version of NLog.…

asp.net-core .net-core nlog microsoft-extensions-logging
Simple Injector: Register ILogger<T> by using ILoggerFactory.CreateLogger<T>()

I'm working with a project which utilizes Simple Injector as dependency injector. On the other hand, this project uses Microsoft.…

c# dependency-injection simple-injector microsoft-extensions-logging