Cisco Cisco Computer Telephony Integration OS 8.5 開発者ガイド
12-45
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
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.
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.
Table 12-10 CWaitObject Class Methods
Method
Description
AddLogListener
Registers a listener with the LogManager.
GetTraceMask
Gets the current trace mask. Trace masks define
trace levels, such as TRACE_MASK_CRITICAL,
which enables tracing for critical errors. See the
LogManager Javadoc for a description of trace
masks that define tracing
trace levels, such as TRACE_MASK_CRITICAL,
which enables tracing for critical errors. See the
LogManager Javadoc for a description of trace
masks that define tracing
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.
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.
with the specified trace mask.