Platform SDK: Web Telephony Engine

Entering a Record into the Log

The scripts and ActiveX controls of an application can use the Log method of the ExOM object to write a line entry into the log file or SQL database. The method produces a line entry containing the words "Custom Log" in the Event Class field. Note that the Log method does not take any parameters, meaning it cannot set the contents of any fields in the line entry. However, you can set the contents of the line entry's Custom Log field by using the LogCustomField object.

The following example shows the syntax of the Log method:

External.Log