EAPUtilWriteToRequestLog Method (IAppContext, IDatabase, String, String, Double) |
Writes pertinent information to request log. This method is the more generic version where we're just interested in logging some error information.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void WriteToRequestLog(
IAppContext app,
IDatabase db,
string request,
string errorMessage,
double duration
)
Public Shared Sub WriteToRequestLog (
app As IAppContext,
db As IDatabase,
request As String,
errorMessage As String,
duration As Double
)
Parameters
- app
- Type: NetQuarryIAppContext
Application object - db
- Type: NetQuarryIDatabase
Optional database object. Database object read from application if necessary - request
- Type: SystemString
What the log entry represents - errorMessage
- Type: SystemString
The error message associated with the entry - duration
- Type: SystemDouble
A numeric value representing a duration asociated wih the entry, in milliseconds.
See Also