Example #1
0
MBASEAPI void MIRACLEEXPORT logDebugVA(LPCTSTR lpszFormat,...)
{
	CString msg;
	ASSERT(AfxIsValidString(lpszFormat));
	va_list argList;
	va_start(argList, lpszFormat);
	msg.FormatV(lpszFormat, argList);
	va_end(argList);
	_logDebug(msg);
}
Example #2
0
MBASEAPI void MIRACLEEXPORT _logError(LPCTSTR msg)
{
	if(!initlog) logInit();
	FILE *f = fopen(strErrorFile,"a+t");
	if (f!=NULL)
	{
		CTime Time = CTime::GetCurrentTime();
		CString TimeStr = Time.Format("%d/%m/%Y-%H:%M:%S:");
		fprintf(f,"%s%s \n",TimeStr,msg);
		fclose(f);
	}	
	_logDebug(msg);	
}
Example #3
0
MBASEAPI void MIRACLEEXPORT logDebug(LPCTSTR lpszMsg)
{
	ASSERT(AfxIsValidString(lpszMsg));
	_logDebug(lpszMsg);
}
Example #4
0
MBASEAPI void MIRACLEEXPORT logDebug(UINT nID)
{
	CString msg;
	msg.LoadString(nID);
	_logDebug(msg);
}
Example #5
0
Base::ParseRes_* Base::__parseDefaultToText(Base::SeekRet_* selfSR)
{
  Op_* selfOp=(Op_* )selfSR->op_;
  Int begin=selfSR->pos_;

  DEBUG(_logDebug(begin,"__parseDefaultToText");)