/** * Set configuration data */ BYTE* CBaseLogObject::SetConfigData(BYTE* pvDataStream, BYTE bytLogVersion) { BYTE* pbSStream = pvDataStream; pbSStream = m_sLogInfo.pbSetConfigData(pbSStream, bytLogVersion); pbSStream = Der_SetConfigData(pbSStream); // The default value of current log file should be the log file name m_omCurrLogFile = m_sLogInfo.m_sLogFileName; return pbSStream; }
INT CBaseLogObject::nSetConfigData(xmlNodePtr pNode) { INT nRetValue = m_sLogInfo.nSetConfigData(pNode->children); if(nRetValue == S_OK) { nRetValue = Der_SetConfigData(pNode->children); // The default value of current log file should be the log file name m_omCurrLogFile = m_sLogInfo.m_sLogFileName; } return nRetValue; }