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 }
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; }