|Microsoft Office Live Communications Server 2005 with SP1|
The Log function writes an entry or entries to the specified server log.
voidLog(stringname, booldetail, stringstring1, stringstring2, ..., stringstringN);
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.
Value Description "Event" The supplied messages are recorded as warnings in the event log. "Error" The supplied message are recorded as errors in the event log. "Debug" 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 "Debug" are viewed using the APILogger.exe utility provided with Live Communications Server. To effectively debug your script, regular calls to Log with debug entries should be made.
The default log type is "Debug" if name is not one of the above three types.
|What did you think of this topic?|
|© 2008 Microsoft Corporation. All rights reserved.|