LogEvent - cBaseWebComponent

Logs an event to the Web Application's event log

Type: Procedure

Parameters: Integer iEventType String lpszEvent

ParameterDescription
iEventTypeType of event to log
lpszEventEvent name that is being logged


Syntax
Procedure LogEvent Integer iEventType String lpszEvent

Call: Send LogEvent iEventType lpszEvent


Description

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.