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

Namespace: AccidentalFish.ApplicationSupport.Owin.Azure
Assembly: AccidentalFish.ApplicationSupport.Owin.Azure (in AccidentalFish.ApplicationSupport.Owin.Azure.dll) Version: 0.9.0.0 (0.9.0.0)
Syntax
public Task Log(
	string uriToLog,
	bool didStripQueryParams,
	string verb,
	string correlationId,
	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
correlationId
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

Implements

IHttpLoggerRepositoryLog(String, Boolean, String, String, DateTimeOffset, Int64, DictionaryString, String, DictionaryString, String)
See Also