Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
Appendix B CTI OS Logging
Logging and Tracing (.NET)
B-6
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
string msg)
{
if ( m_logger.IsTraceMaskEnabled(traceLevel) )
{
string tracsMsg = string.Format("{0}: {1}", methodName,
msg) ;
m_logger.Trace(traceLevel, msg) ;
}
}
The CTI Toolkit Combo Desktop .NET sample application included with the CTI
OS toolkit shows how to use the CIL's LogWrapper class in the context of a
complex softphone application.
OS toolkit shows how to use the CIL's LogWrapper class in the context of a
complex softphone application.
lists the trace masks available in the .NET CIL.
Table B-1
Trace Masks in .NET CIL
TRACE_MASK_ARGS_LOGIC
Logic trace for Args and
Arguments objects.
Arguments objects.
TRACE_LEVEL_EVENT_REQ
Mask for logic and parameters
for general events and requests.
for general events and requests.
TRACE_LEVEL_MAJOR
Mask for major events.
TRACE_LEVEL_MEMORY
Mask for very low level
operations.
operations.
TRACE_LEVEL_METHOD
Mask for method entry and exit.
TRACE_MASK_ALWAYS
Always print
TRACE_MASK_ARGREFCOUNTING
Addref/release, refcount for
Arg and Arguments objects.
Arg and Arguments objects.
TRACE_MASK_ARGS_METHODS
Method entry/exit for
Arguments objects
Arguments objects
TRACE_MASK_CONNECTION
Connection tracing on or off
TRACE_MASK_CRITICAL
Critical error
TRACE_MASK_EVENTFILTER
All logic from the EventFilter
TRACE_MASK_EVT_REQ_AVG
Evants and requests of average
importance.
importance.