Руководство Разработчика для Cisco Cisco Computer Telephony Integration OS 8.5
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
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.