Method LogUnexpected
LogUnexpected(HttpContext, Exception, Guid)
Logs an unexpected exception. The default implementation logs an error with the request method, path and reference ID as structured properties.
Declaration
protected virtual void LogUnexpected(HttpContext httpContext, Exception exception, Guid referenceId)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpContext | httpContext | |
| Exception | exception | |
| Guid | referenceId |