Elmah.AspNetCore.Postgresql 1.0.1

dotnet add package Elmah.AspNetCore.Postgresql --version 1.0.1                
NuGet\Install-Package Elmah.AspNetCore.Postgresql -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Elmah.AspNetCore.Postgresql" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Elmah.AspNetCore.Postgresql --version 1.0.1                
#r "nuget: Elmah.AspNetCore.Postgresql, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Elmah.AspNetCore.Postgresql as a Cake Addin
#addin nuget:?package=Elmah.AspNetCore.Postgresql&version=1.0.1

// Install Elmah.AspNetCore.Postgresql as a Cake Tool
#tool nuget:?package=Elmah.AspNetCore.Postgresql&version=1.0.1                

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 request

  • Supports .NET 6+

  • SqlErrorLog - store errors in MS SQL (add reference to Elmah.AspNetCore.MsSql and use PersistToSql method)

  • MysqlErrorLog - store errors in MySQL (add reference to Elmah.AspNetCore.MySql and use PersistToMySql method)

  • PgsqlErrorLog - store errors in PostgreSQL (add reference to Elmah.AspNetCore.PostgreSql and use PersistToPgsql method)

using Elmah.AspNetCore;

builder.Host.UseElmah((builderContext, elmah) =>
{
    elmah.PersistToSql(options =>
    {
        options.ConnectionString = "connection_string";
        options.SqlServerDatabaseSchemaName = "Errors"; //Defaults to dbo if not set
        options.SqlServerDatabaseTableName = "ElmahError"; //Defaults to ELMAH_Error if not set
    });
});
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 1,482 2/4/2024
1.0.0 115 1/27/2024
0.0.0-preview.0.168 95 1/3/2024
0.0.0-preview.0.162 75 1/2/2024
0.0.0-preview.0.139 54 1/25/2024