Home > nlog

Log Errors and store in database using NLog

Nlog is an open source log platform through which we can log an activity of an application and store in file, database and even in azure blob storage. Install following NuGet packages in your project: 1. Install-Package NLog-Version 4.7.10 2. Install-Package NLog.Web.AspNetCore- Version 4.12.0 3. Install-Package Microsoft.Data.SqlClient- Version 3.0.0 4. Install-Package Microsoft.Extensions.Logging.Console- Version 5.0.0

This Article is TAGGED in . Read more