Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 668
 
Appendix B      CTI OS Logging
Java CIL Logging Utilities
B-4
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
The Java CIL provides the following objects for logging as part of the utilities 
package:
ILogEvents
This interface must be implemented by a class interested in receiving Java CIL 
LogEvents. It only has one method.
void processLogEvent(LogEvent event)
LogEvent
A custom application that is interested in receiving LogEvents will receive an 
object of this type whenever a log message is generated. This class extends the 
Java “EventObject”, and has one public method:
String getDescription()
Logger
A custom application that is interested in firing or handling its own LogEvents, 
can create an instance of this class.
Method
Description
getDescription
Returns the text description to write somewhere.
Method
Description
Logger
Public constructor of the Logger object.
Trace
Lets the custom app fire a LogEvent
GetTraceMask
Gets the trace mask.
IsTraceMaskEnabled
Determines if a certain trace mask is set.