AzureHttpLoggerRepositoryLog Method |
Logs the information to a store
Namespace: AccidentalFish.ApplicationSupport.Owin.AzureAssembly: AccidentalFish.ApplicationSupport.Owin.Azure (in AccidentalFish.ApplicationSupport.Owin.Azure.dll) Version: 0.9.0.0 (0.9.0.0)
Syntaxpublic Task Log(
string uriToLog,
bool didStripQueryParams,
string verb,
string correlationId,
DateTimeOffset requestDateTime,
long ellapsedMilliseconds,
Dictionary<string, string[]> requestHeaders,
Dictionary<string, string[]> responseHeaders
)
Public Function Log (
uriToLog As String,
didStripQueryParams As Boolean,
verb As String,
correlationId 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 - 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:
TaskTask
Implements
IHttpLoggerRepositoryLog(String, Boolean, String, String, DateTimeOffset, Int64, DictionaryString, String, DictionaryString, String)
See Also