Elmah.AspNetCore.StackExchange.Redis
1.1.0
dotnet add package Elmah.AspNetCore.StackExchange.Redis --version 1.1.0
NuGet\Install-Package Elmah.AspNetCore.StackExchange.Redis -Version 1.1.0
<PackageReference Include="Elmah.AspNetCore.StackExchange.Redis" Version="1.1.0" />
paket add Elmah.AspNetCore.StackExchange.Redis --version 1.1.0
#r "nuget: Elmah.AspNetCore.StackExchange.Redis, 1.1.0"
// Install Elmah.AspNetCore.StackExchange.Redis as a Cake Addin #addin nuget:?package=Elmah.AspNetCore.StackExchange.Redis&version=1.1.0 // Install Elmah.AspNetCore.StackExchange.Redis as a Cake Tool #tool nuget:?package=Elmah.AspNetCore.StackExchange.Redis&version=1.1.0
Elmah.AspNetCore
ELMAH (Error Logging Middleware and Handlers) for ASP.NET Core.
Features include:
Logging of unhandled exceptions
Friendly UI to view captured errors along with contextual information
Hooks to include handled exceptions and additional contextual information
Various methods to persist error logs
Supports securing UI via built-in ASP.Net Core functionality
Notifications of errors through email or custom notifiers
Integration with
Microsoft.Extensions.Logging
to capture logs made during a requestSupports .NET 6+
RedisErrorLog - store errors in Redis (add reference to Elmah.AspNetCore.Redis and use
PersistToRedis
method)
using Elmah.AspNetCore;
builder.Host.UseElmah((builderContext, elmah) =>
{
elmah.PersistToRedis(options =>
{
// Defaults
options.RedisListKeyPrefix = "urn:elmah:error_list:";
options.RedisKeyPrefix = "urn:elmah:error:";
options.MaximumSize = 200; // (FIFO)
});
});
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Elmah.AspNetCore.Common (>= 1.0.1)
- StackExchange.Redis (>= 2.7.17)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.