Skip to main content

HttpResponseLogTemplate

Namespace: RA.Utilities.Logging.Shared.Models.HttpLog

The HttpResponseLogTemplate class is a specialized model used for creating structured log entries for an HTTP response. It inherits from BaseHttpLogTemplate to include common properties and adds details specific to the response itself.

Properties

PropertyTypeDescriptionInherited
RequestIdstring?A unique identifier generated for the request, used for correlation across logs.Inherited from BaseHttpLogTemplate
TraceIdentifierstring?The identifier from HttpContext.TraceIdentifier, used for end-to-end tracing within the ASP.NET Core pipeline.Inherited from BaseHttpLogTemplate
Pathstring?The URI path of the request (e.g., /api/users/123).Inherited from BaseHttpLogTemplate
RequestedOnDateTimeThe UTC timestamp indicating when the log object was created.Inherited from BaseHttpLogTemplate
RemoteAddressstring?The client's IP address (for incoming requests) or the target server's host name/IP (for outgoing requests).Inherited from BaseHttpLogTemplate
RequestIdstring?A unique identifier generated for the request, used for correlation.-
TraceIdentifierstring?The identifier from HttpContext.TraceIdentifier for end-to-end tracing.-
Pathstring?The URI path of the request (e.g., /api/users/123).-
RequestedOnDateTimeThe UTC timestamp when the log object was created.-
RemoteAddressstring?The client's IP address or the target server's host name.-