메시지 카탈로그의 메시지(삽입 항목이 있는)를 사용자 추적에 기록합니다. 또한 서비스 추적이 활성인 경우 서비스 추적에도 메시지가 기록됩니다.
사용자 추적에 기록된 메시지의 형식은 다음과 같습니다.
<date-time stamp> <threadNumber> UserTrace <Message text with inserts> <Message Explanation>
void cciUserTraceW( int* returnCode, CciObject* object, const CciChar* messageSource, int messageNumber, const CciChar* traceText, ... );
const CciChar* myMessageSource=CciString("SwitchMSG",BIP_DEF_COMP_CCSID); const CciChar* text = CciString("propagating to add terminal", BIP_DEF_COMP_CCSID); const CciChar* insert = CciString("add", BIP_DEF_COMP_CCSID); CciNode* thisNode = ((NODE_CONTEXT_ST*)context)->nodeObject; int rc = CCI_SUCCESS; cciUserTrace(&rc, (CciObject*)thisNode, myMessageSource, 1, text, insert, (CciChar*)0); checkRC(rc);