Example #1
0
void DEBUG_reset()
{
	//for now, just enable all debugging in developer builds
#ifdef DEVELOPER
	debugFlag = 1;
#endif

	DEBUG_Notify = DebugNotify();
	DEBUG_statistics = DebugStatistics();
	printf("DEBUG_reset: %08X\n",&DebugStatistics::print); //force a reference to this function
}
Example #2
0
bool CThirdPartyTask::Enable(bool bEnable)
{
    string sMsg = MOOSFormat("%s Thridparty Task %s job %s\n",
                            bEnable?"Enabling":"Disabling",
                            GetName().c_str(),
                            m_sJob.c_str());
        
     DebugNotify(sMsg);
        
     m_bEnabled = bEnable;

     return true;
}