Admin_TraceLogAdd
|
VoiceGuide COM Reference
|
Adds a log entry to VoiceGuide's
event trace log.
Syntax
object.Admin_TraceLogAdd iLineId, iLogLevel,
sLogInfo
|
Part
|
Description
|
|
|
object
|
Required. VoiceGuide object
|
|
|
iLineId
|
Required. Identification number of the line with
which this log entry is associated. Set to 0 if not used.
|
|
| iLogLevel
|
Required. Compared against VoiceGuide's trace
level setting to determine if the log entry should be printed. Set
to 0 for the trace log entry to be always printed.
|
|
| sLogInfo
|
Required. the information to be printed
|
|
Remarks
VoiceGuide's trace level is set
using VG.INI file, section "TraceLog", entry "TraceLevel"
Example
set vg =
CreateObject("vgServices.CommandLink")
vg.Admin_TraceLogAdd 0, 0, "This trace was printed from an external
VB Script"
set vg = Nothing
|