Skip to content

Middleware that decorates all log messages from ASP.NET Core with HTTP context information like URL and status code.

License

Notifications You must be signed in to change notification settings

elmahio/Elmah.Io.AspNetCore.Serilog

Repository files navigation

Elmah.Io.AspNetCore.Serilog

Build status NuGet Version

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 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