Consolidate 'LogType' Debug logs over to 'LogCategory'

This commit is contained in:
Akkadius
2015-01-18 01:37:54 -06:00
parent 375f4af946
commit 063a9214ae
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -43,7 +43,7 @@ void TimeoutManager::CheckTimeouts() {
Timeoutable *it = *cur;
if(it->next_check.Check()) {
#ifdef TIMEOUT_DEBUG
Log.Log(EQEmuLogSys::Debug, "Checking timeout on 0x%x\n", it);
Log.DebugCategory(EQEmuLogSys::General, EQEmuLogSys::None,, "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
Log.Log(EQEmuLogSys::Debug, "Adding timeoutable 0x%x\n", who);
Log.DebugCategory(EQEmuLogSys::General, EQEmuLogSys::None,, "Adding timeoutable 0x%x\n", who);
#endif
}
void TimeoutManager::DeleteMember(Timeoutable *who) {
#ifdef TIMEOUT_DEBUG
Log.Log(EQEmuLogSys::Debug, "Removing timeoutable 0x%x\n", who);
Log.DebugCategory(EQEmuLogSys::General, EQEmuLogSys::None,, "Removing timeoutable 0x%x\n", who);
#endif
std::vector<Timeoutable *>::iterator cur,end;
cur = members.begin();