Writing Logs to SQL Server Using NLog

added by DotNetKicks
9/7/2021 4:45:13 PM

599 Views

We have previously learned how to log messages to a File using NLog. In this article, we are going to learn how to use Nlog to log messages into SQL Server. We are going to see how we can configure an ASP.NET Core Web API project to support NLog and how we can configure NLog using an XML configuration file.


0 comments