Click or drag to resize
IHttpLoggerRepositoryLog Method
Logs the information to a store

Namespace: AccidentalFish.ApplicationSupport.Owin
Assembly: AccidentalFish.ApplicationSupport.Owin (in AccidentalFish.ApplicationSupport.Owin.dll) Version: 0.9.0.0 (0.9.0.0)
Syntax
Task Log(
	string uriToLog,
	bool didStripQueryParams,
	string verb,
	string httpCorrelationId,
	DateTimeOffset requestDateTime,
	long ellapsedMilliseconds,
	Dictionary<string, string[]> requestHeaders,
	Dictionary<string, string[]> responseHeaders
)

Parameters

uriToLog
Type: SystemString
The URI to log. Will contain query parameters if didStripQueryParams is false.
didStripQueryParams
Type: SystemBoolean
Have query parameters been stripped from the URI.
verb
Type: SystemString
The HTTP verb used during the request
httpCorrelationId
Type: SystemString
The correlation ID if available
requestDateTime
Type: SystemDateTimeOffset
The date and time the request arrived at the OWIN middleware
ellapsedMilliseconds
Type: SystemInt64
The time taken to process the request (the time between entering the middleware and exiting it)
requestHeaders
Type: System.Collections.GenericDictionaryString, String
Any request headers and their values
responseHeaders
Type: System.Collections.GenericDictionaryString, String
Any response headers and their values

Return Value

Type: Task
Task
See Also