Constructor
Namespace: AccidentalFish.ApplicationSupport.OwinAssembly: AccidentalFish.ApplicationSupport.Owin (in AccidentalFish.ApplicationSupport.Owin.dll) Version: 0.9.0.0 (0.9.0.0)
Syntaxpublic HttpLogger(
OwinMiddleware next,
IHttpLoggerRepository httpLoggerRepository,
bool captureRequestParams,
bool captureRequestData,
bool captureResponseData,
IEnumerable<string> captureRequestHeaders,
IEnumerable<string> captureResponseHeaders,
string httpCorrelationHeaderKey
)
Public Sub New (
next As OwinMiddleware,
httpLoggerRepository As IHttpLoggerRepository,
captureRequestParams As Boolean,
captureRequestData As Boolean,
captureResponseData As Boolean,
captureRequestHeaders As IEnumerable(Of String),
captureResponseHeaders As IEnumerable(Of String),
httpCorrelationHeaderKey As String
)
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