Click or drag to resize
HttpLogger Constructor
Constructor

Namespace: AccidentalFish.ApplicationSupport.Owin
Assembly: AccidentalFish.ApplicationSupport.Owin (in AccidentalFish.ApplicationSupport.Owin.dll) Version: 0.9.0.0 (0.9.0.0)
Syntax
public HttpLogger(
	OwinMiddleware next,
	IHttpLoggerRepository httpLoggerRepository,
	bool captureRequestParams,
	bool captureRequestData,
	bool captureResponseData,
	IEnumerable<string> captureRequestHeaders,
	IEnumerable<string> captureResponseHeaders,
	string httpCorrelationHeaderKey
)

Parameters

next
Type: OwinMiddleware
The next piece of middleware to call
httpLoggerRepository
Type: AccidentalFish.ApplicationSupport.OwinIHttpLoggerRepository
The repository to store the http information in
captureRequestParams
Type: SystemBoolean
True if query parameters should be captured, false if they should be removed
captureRequestData
Type: SystemBoolean
True if request data should be persisted to storage, false if not. Currently true is unsupported.
captureResponseData
Type: SystemBoolean
True if response data should be persisted to storage, false if not. Currently true is unsupported.
captureRequestHeaders
Type: System.Collections.GenericIEnumerableString
The set of request headers to capture, a single item of "*" for all headers
captureResponseHeaders
Type: System.Collections.GenericIEnumerableString
The set of response headers to capture, a single item of "*" for all headers
httpCorrelationHeaderKey
Type: SystemString
The name of the header to use for a correlation ID
See Also