Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
Chapter 12 Helper Classes
LogWrapper Class (.NET and Java Only)
12-48
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Return Values
None.
Trace
The Trace method sends a trace message to the central LogManager with the
specified trace mask. If the trace mask set on the Logger contains all the bits in
the trace mask that is passed into this method, the LogManager will send the trace
string to all log listeners.
specified trace mask. If the trace mask set on the Logger contains all the bits in
the trace mask that is passed into this method, the LogManager will send the trace
string to all log listeners.
Syntax
int Trace(int iTraceMask, String sMessage)
Parameters
traceMask
Trace mask for this message.
traceMessage
String containing trace message.
Return Values
int
0 if traced; -1 if not traced.
LogWrapper Class (.NET and Java Only)
The LogWrapper class instantiates the default logging mechanism. By default, the
LogWrapper writes trace messages to System.Console.Out. If you instantiate the
LogWrapper by passing it a filename, then the LogWrapper writes trace messages
to the specified file.
LogWrapper writes trace messages to System.Console.Out. If you instantiate the
LogWrapper by passing it a filename, then the LogWrapper writes trace messages
to the specified file.