NLog.Mvc
1.0.4
See the version list below for details.
dotnet add package NLog.Mvc --version 1.0.4
NuGet\Install-Package NLog.Mvc -Version 1.0.4
<PackageReference Include="NLog.Mvc" Version="1.0.4" />
paket add NLog.Mvc --version 1.0.4
#r "nuget: NLog.Mvc, 1.0.4"
// Install NLog.Mvc as a Cake Addin
#addin nuget:?package=NLog.Mvc&version=1.0.4
// Install NLog.Mvc as a Cake Tool
#tool nuget:?package=NLog.Mvc&version=1.0.4
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
-
- EntityFramework (>= 4.3.1)
- NLog (>= 2.0.0.2000)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Changed LogEntryConfiguration to disable database initialisation for LoggingContext to prevent the model builder from looking for metadata in the database. This means you have to make sure the database is properly initialised and can't rely on LoggingContext creating it's own table automatically.
Version skip is due to my forgetting to refresh binaries before publishing.