Replace rest of EQEmuLog->write with EQEmuLogSys Log

This commit is contained in:
Akkadius
2015-01-10 19:36:15 -06:00
parent 167e11426f
commit 17d9b9199c
19 changed files with 188 additions and 183 deletions
+3 -3
View File
@@ -43,7 +43,7 @@ void TimeoutManager::CheckTimeouts() {
Timeoutable *it = *cur;
if(it->next_check.Check()) {
#ifdef TIMEOUT_DEBUG
LogFile->write(EQEmuLog::Debug, "Checking timeout on 0x%x\n", it);
logger.Log(EQEmuLogSys::Debug, "Checking timeout on 0x%x\n", it);
#endif
it->CheckTimeout();
}
@@ -58,13 +58,13 @@ void TimeoutManager::AddMember(Timeoutable *who) {
DeleteMember(who); //just in case... prolly not needed.
members.push_back(who);
#ifdef TIMEOUT_DEBUG
LogFile->write(EQEmuLog::Debug, "Adding timeoutable 0x%x\n", who);
logger.Log(EQEmuLogSys::Debug, "Adding timeoutable 0x%x\n", who);
#endif
}
void TimeoutManager::DeleteMember(Timeoutable *who) {
#ifdef TIMEOUT_DEBUG
LogFile->write(EQEmuLog::Debug, "Removing timeoutable 0x%x\n", who);
logger.Log(EQEmuLogSys::Debug, "Removing timeoutable 0x%x\n", who);
#endif
std::vector<Timeoutable *>::iterator cur,end;
cur = members.begin();