Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 508
   
12-33
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 12      Helper Classes
Logger Class (.NET and Java Only)
Logger() Constructor
The Logger constructor creates a Logger object and also a LogManager object if one does not already 
exist. If a LogManager exists, the Logger gets a gets a reference to the existing singleton LogManager 
object.
Syntax
void Logger()
Parameters
None.
Return Values
None.
GetTraceMask
The GetTraceMask method gets the current trace mask.
Syntax
int GetTraceMask()
Parameters
None.
Return Values
An int containing the current trace mask.
Logger (Constructor)
Creates a Logger object and also a LogManager 
object if one does not already exist. If one has 
already been created, it just gets a reference to the 
existing singleton LogManager object. 
RemoveLogListener
Unregisters a listener from the LogManager.
SetTraceMask
Sets the current trace mask.
Trace
Send a trace message to the central LogManager 
with the specified trace mask.
Table 12-10
CWaitObject Class Methods (continued)
Method
Description