Beispiel #1
0
// 函数名: BCCMsgLogOut
// 编程  : 陈永华 2004-3-10 19:31:25
// 描述  : 由BCC集中输出本BU的文本日志信息
// 返回  : int 0:成功;否则即为与BCC通讯出现问题,建议业务取消处理
// 参数  : int logid :本日志的ID号
// 参数  : char *pFormat :文本日志的格式定义
// 参数  : ... :以pFormat定义的输出参数
int BCCMsgLogOut(int logid,char *pFormat,...)
{
   char omsg[1024];
   va_list pArg;
   va_start(pArg,pFormat);
   vsprintf(omsg,pFormat,pArg);
   va_end(pArg);
   return(g_SvrLink.BCCLogOut(LT_MSG,logid,strlen(omsg),omsg));
}