https://github.com/elmahio/elmah.io.aspnetcore.serilog
Middleware that decorates all log messages from ASP.NET Core with HTTP context information like URL and status code.
https://github.com/elmahio/elmah.io.aspnetcore.serilog
asp-net-core aspnetcore crash-reporting crash-reporting-tool elmah elmah-io error-handling error-log error-monitoring error-reporting serilog serilog-enricher serilog-enrichers
Last synced: 2 months ago
JSON representation
Middleware that decorates all log messages from ASP.NET Core with HTTP context information like URL and status code.
- Host: GitHub
- URL: https://github.com/elmahio/elmah.io.aspnetcore.serilog
- Owner: elmahio
- License: apache-2.0
- Created: 2019-09-14T18:38:44.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-07T08:59:13.000Z (12 months ago)
- Last Synced: 2025-03-25T03:13:12.456Z (2 months ago)
- Topics: asp-net-core, aspnetcore, crash-reporting, crash-reporting-tool, elmah, elmah-io, error-handling, error-log, error-monitoring, error-reporting, serilog, serilog-enricher, serilog-enrichers
- Language: C#
- Homepage: https://elmah.io
- Size: 2.05 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Elmah.Io.AspNetCore.Serilog
[](https://github.com/elmahio/Elmah.Io.AspNetCore.Serilog/actions/workflows/build.yml) [](https://www.nuget.org/packages/Elmah.Io.AspNetCore.Serilog/)
Middleware that uses Serilog's `LogContext` to decorate all log messages from ASP.NET Core with HTTP context information like URL and status code. The middleware is not specific to [elmah.io](https://elmah.io) but is typically used with the `Serilog.Sinks.ElmahIo` package and ASP.NET Core.
Documentation: [https://docs.elmah.io/logging-to-elmah-io-from-serilog/#aspnet-core](https://docs.elmah.io/logging-to-elmah-io-from-serilog/#aspnet-core)