Cisco Cisco Computer Telephony Integration Option 9.0 开发者指南

下载
页码 508
   
B-7
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Appendix B      CTI OS Logging
Logging and Tracing (.NET)
TraceMask Bit
Value
Purpose
TRACE_LEVEL_MAJOR
0x000000ff
Mask for major events.
TRACE_LEVEL_EVENT_REQ
0x0000ff00
Mask for general events and requests.
TRACE_LEVEL_METHOD
0x00ff0000
Mask for method entry and exit.
TRACE_LEVEL_MEMORY
0xff000000
Mask for very low lever operations.
Individual Trace Mask
Lowest Order Byte Mask: Events
TRACE_MASK_ALWAYS
0x00
Always print.
TRACE_MASK_CRITICAL
0x01
Critical error.
TRACE_MASK_WARNING
0x02
Warning.
TRACE_MASK_EVT_REQ_HIGH
0x04
High important events/requests.
TRACE_MASK_EVT_REQ_HIGH_PARM
0x08
High important events/requests.
TRACE_MASK_EVT_REQ_AVG
0x10
Average important events/requests.
TRACE_MASK_EVT_REQ_AVG_PARM
0x20
Average important events/requests.
TRACE_MASK_EVT_REQ_LOW
0x40
Low important events/requests.
TRACE_MASK_EVT_REQ_LOW_PARM
0x80
Low important events/requests.
Second Lowest Order Byte:  Method Tracing
TRACE_MASK_METHOD_HIGH
0x0100
High visibility method entry/exit trace.
TRACE_MASK_METHOD_HIGH_LOGIC
0x0200
High visibility method logic trace.
TRACE_MASK_METHOD_HIGH_LOGIC
0x0400
Internal visibility method entry/exit 
trace.
TRACE_MASK_METHOD_AVG_LOGIC
0x0800
Internal visibility method logic trace.
TRACE_MASK_METHOD_LOW
0x1000
Helper object visibility method 
entry/exit trace.
TRACE_MASK_METHOD_LOW_LOGIC
0x2000
Helper object visibility method logic 
trace.
TRACE_MASK_METHOD_MAP
0x4000
Map access.
Highest Order Byte: Communicatios and Processing
TRACE_MASK_ARGS_METHODS
0x01000000
Method entry/exit for Arguments 
objects.
TRACE_MASK_ARGS_LOGIC
0x02000000
Logic trace for Arguments objects.
TRACE_MASK_PACKETS_METHODS
0x04000000
Method entry/exit for packets objects.
TRACE_MASK_PACKETS_LOGIC
0x08000000
Logic trace for packets objects.
TRACE_MASK_SERIALIZE_DUMP
0x10000000
Memory dump of serialize buffer.
TRACE_MASK_SOCKETS_DUMP
0x20000000
Memory dump of sockets buffer.
TRACE_MASK_THREADING
0x40000000
Threading tracing on or off.
TRACE_MASK_CONNECTION
0x80000000
Connection tracing on or off.