ErrorUnit Namespace |
Specify what classes can be monitored for errors via the below methods:
Method | Description |
---|---|
ErrorUnit.Injector_PostSharp | If you don't want to do anything else in this table, consider using our integration with PostSharp; While ErrorUnit is in Beta PostSharp is free to use with ErrorUnit.Injector_PostSharp (Thanks Gael!). Just Add [assembly:ErrorUnitAspect] to the AssemblyInfo.cs file of the project you want classes monitored for. |
ErrorUnit.Injector_WebApi | Monitor Web calls to Web API Controllers via Web project filter attribute ErrorUnitWebApiActionFilterAttribute: |
ErrorUnit.Injector_Mvc | Monitor Web calls to MVC Controllers via Web project filter attribute ErrorUnitMvcActionFilterAttribute: |
ErrorUnit.Interfaces.IInjector | Capture errors for classes managed by your dependency injector; find your dependency injector's ErrorUnit package on nuget. Or create your own library (examples), we will give you a free ErrorUnit license and attribution if we can use it. |
ErrorUnit.ErrorUnitCentral.WrapI(I) | Create an ErrorUnit Proxy classes instead of directly instantiating classes via new keyword, wrapping the specified class so that all exceptions from its interface methods and/or virtual methods are recorded. |
Set your Entity Framework DbContext class up to be compatible with the DbContextSerializer.
Set up a ILogger library; for example ErrorUnit.Logger_Elmah. Or create your own library ( example), we will give you a free ErrorUnit license and attribution if we can use it.
Class | Description | |
---|---|---|
ErrorUnitCentral |
ErrorUnit Central Object that enables it all.
|