Storage: JSON
The JSON error store is file-based and not the most performant for high throughput situations (due to the performance of file systems in general). It’s just fine for smaller applications though.
Installation
No install required, it’s built-in.
Coniguration
Web.config example:
<ErrorStore type="JSON" path="~/Errors" size="200" />
ASP.NET Core JSON example:
{
"Exceptional": {
"ErrorStore": {
"ApplicationName": "Samples (ASP.NET Core)",
"Type": "JSON",
"Path": "/Errors",
"Size": 200
}
}
}
C# Code example:
Exceptional.Configure(new JSONErrorStore("Errors", 200));