IHttpLoggerRepositoryLog Method |
Logs the information to a store
Namespace: AccidentalFish.ApplicationSupport.OwinAssembly: AccidentalFish.ApplicationSupport.Owin (in AccidentalFish.ApplicationSupport.Owin.dll) Version: 0.9.0.0 (0.9.0.0)
SyntaxTask Log(
string uriToLog,
bool didStripQueryParams,
string verb,
string httpCorrelationId,
DateTimeOffset requestDateTime,
long ellapsedMilliseconds,
Dictionary<string, string[]> requestHeaders,
Dictionary<string, string[]> responseHeaders
)
Function Log (
uriToLog As String,
didStripQueryParams As Boolean,
verb As String,
httpCorrelationId As String,
requestDateTime As DateTimeOffset,
ellapsedMilliseconds As Long,
requestHeaders As Dictionary(Of String, String()),
responseHeaders As Dictionary(Of String, String())
) As Task
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:
TaskTask
See Also