WebRequestLog.LogCustomMessage

Logs a custom message type to the log file. Custom messages can be used to log errors and application events (starting/stopping) and any other operation that might require attention.

o.LogCustomMessage(ConnectionString,Type,CustomMessage)

Return Value

bool

Parameters

ConnectionString
Connection String to the database

Type
Numeric type id
0 - default no special type
1 - Errors
2 - Application Messages

CustomMessage
The text for the custom message.

Remarks

This message logs only the Time, Type and Custom Message Fields. The Url is set to the message type if supported (1 - Error, 2 - Application Message). Regular request details are not logged.

All details must be passed to the CustomMessage Field


See also:

Class WebRequestLog

© West Wind Technologies, 1996-2018 • Updated: 10/09/03
Comment or report problem with topic