Parameter | Description |
---|---|
iEventType | Type of event to log |
lpszEvent | Event name that is being logged |
Procedure LogEvent Integer iEventType String lpszEvent
Call: | Send LogEvent iEventType lpszEvent |
LogEvent logs an event to the Web Application's event log. This is often used to log any type of non-error system activity. Events can be viewed using the DataFlex WebApp Server Administrator.
You should use this message to log any type of non-error activity to the error log. Errors should be added to the event log using the LogErrorEvent message. This message will generate an error and log the error to the event log. Most unexpected errors (program errors, syntax errors, etc.) are automatically placed in the event log without any special programming on your part.