Designed to be used with ASP.NET MVC 3 or greater and Entity Framework 4.* NLog.Mvc provides a Target for NLog that uses a DbContext to write and access log entries. It also includes a NLogHandleError attribute that can be applied to log exceptions.
Install-Package NLog.Mvc -Version 1.0.8
dotnet add package NLog.Mvc --version 1.0.8
<PackageReference Include="NLog.Mvc" Version="1.0.8" />
paket add NLog.Mvc --version 1.0.8
Added support for .NET 4.5.1 and EF 6.*
This package is not used by any popular GitHub repositories.