Global exceptions logger for Entity Framework 6.x using ELMAH.
To install ElmahEFLogger, run the following command in the Package Manager Console:
PM> Install-Package ElmahEFLogger
You can also view the package page on NuGet.
Add The following line to the Application_Start
method of the Global.asax.cs
file:
DbInterception.Add(new ElmahEfInterceptor());
Screenshots: