This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
The Log function writes an entry or entries to the specified server log.
The logical name of the log. Note that this "name" has no relationship to the name of the physical file used to store the logs. The set of possible logical names comprises the following values.
The supplied messages are recorded as warnings in the event log.
The supplied message are recorded as errors in the event log.
The supplied messages are recorded in the debug log.
If this parameter is false, the application URI, the current date and time, and the following message headers will be recorded:
If this parameter is true, the entire message (except for the Content value) will be logged.
Specifies the first message to write to the log, on a separate line.
Specifies the second message to write to the log, on a separate line.
Specifies the last message to write to the log, on a separate line.
Logs of type "Event" and "Error" can be found in the server event log.
Logs of type "Debugr" are viewed using the APILogger.exe utility provided with Office Communications Server. To effectively debug your script, regular calls to Log with debug entries should be made.
The default log type is "Debugr" if name is not one of the above three types.