An error logging and handling library for ASP.NET Core and .NET Standard applications.
ElmahCore is an error logging and management library for ASP.NET Core and .NET Standard applications. It automatically captures unhandled exceptions and provides a web-based dashboard to view, search, and analyze errors with detailed diagnostic information like stack traces, request data, and source code context.
ASP.NET Core developers and teams who need robust, centralized error logging and monitoring for their web applications without significant code changes.
Developers choose ElmahCore because it's a modern, maintained port of the battle-tested ELMAH library with support for .NET Core/Standard, multiple storage backends, and rich features like source preview and request logging while maintaining minimal setup requirements.
ELMAH for Net.Standard and Net.Core
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Integration requires just two lines of code in Startup.cs (services.AddElmah() and app.UseElmah()), minimizing disruption to existing application logic.
Supports multiple error log types including SQL Server, MySQL, PostgreSQL, XML files, and in-memory, with dedicated NuGet packages for databases.
Logs comprehensive data like source code context, HTTP request bodies, SQL queries, and method parameters, enhancing debugging capabilities.
Provides a user-friendly UI with full-text search and filtering for browsing errors, though limited to Memory and XmlFile logs for advanced features.
Full-text search and multiple filters only work with Memory and XmlFile error logs, not with SQL-based storage, reducing utility in production setups.
JavaScript-based filters from the original ELMAH are not yet implemented, constraining configuration options compared to the classic version.
Requires separate NuGet packages for database storage (e.g., ElmahCore.Sql), adding complexity to dependency management and setup.