//Turns on and off standard and error logging void log::receiveChanged(smart_ptr<logStatusHolder> h) { if(h==&logStatus) { if(!std_log->getSpecialCase()) std_log->setIsOn(h->getSTDStatus()); if(!err_log->getSpecialCase()) err_log->setIsOn(h->getERRStatus()); } }