Title / Description
Code void vCbiLogReport(const U16 usFileNo, const S32 lLineNo, const U16 usLogId, const U32 ulParam1, const U32 ulParam2) { CBI_LOG_MSG_BODY stLog = {0U}; /** The log message body. */ CBI_LOG_TRACE(usFileNo, lLineNo, usLogId, ulParam1, ulParam2); stLog.usFile = usFileNo; stLog.ulLine = (U32)lLineNo; stLog.usLogID = usLogId; stLog.ulPara1 = ulParam1; stLog.ulPara2 = ulParam2; vCbiGetSysTime(&(stLog.tRptTime)); #ifdef WIN32 assert(usLogId != LID_STATIC_DATA_ERROR); assert(usLogId != LID_DYNAMIC_DATA_ERROR); assert(usLogId != LID_PARAMETERS_ERROR); #endif vCbiEventPushQ(LOG_QUEUE, &stLog, sizeof(stLog)); return; }
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code