EAPUtilWriteToTimingLog Method |
Log a timing entry to the xot_timing_log table.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void WriteToTimingLog(
IAppContext cxt,
IDatabase db,
string mop,
string pk,
string element,
string eventType,
string eventID,
double durationInMS,
string message
)
Public Shared Sub WriteToTimingLog (
cxt As IAppContext,
db As IDatabase,
mop As String,
pk As String,
element As String,
eventType As String,
eventID As String,
durationInMS As Double,
message As String
)
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context. - db
- Type: NetQuarryIDatabase
The database to which to log. Typically this should be null to allow standard timing log DB selection to be used. - mop
- Type: SystemString
The mop for the log entry. If omitted, the mop for the corresponding xot_request_log entry generally suffices. - pk
- Type: SystemString
The pk for the log entry. If omitted, the pk for the corresponding xot_request_log entry generally suffices. - element
- Type: SystemString
The element to which the timing applies. Typically the name of a PageElementInfo. - eventType
- Type: SystemString
The type of event (e.g. PaneRequery). - eventID
- Type: SystemString
The optional ID of the enent. - durationInMS
- Type: SystemDouble
The timing duration, in milliseconds. - message
- Type: SystemString
An optional message, typically omitted.
See Also