Add 'Quests' Category

This commit is contained in:
Akkadius 2015-01-16 21:19:19 -06:00
parent bfd73e5b96
commit ef4847555a
3 changed files with 6 additions and 1 deletions

View File

@ -74,6 +74,7 @@ public:
Client_Server_Packet,
Aggro,
Attack,
Quests,
MaxCategoryID /* Don't Remove this*/
};
@ -139,6 +140,7 @@ static const char* LogCategoryName[EQEmuLogSys::LogCategory::MaxCategoryID] = {
"Client_Server_Packet",
"Aggro",
"Attack",
"Quests"
};
#endif

View File

@ -98,6 +98,8 @@ XS(XS_EQEmuIO_PRINT)
for(i = 0; *cur != '\0'; i++, cur++) {
if(*cur == '\n') {
LogFile->writebuf(EQEmuLog::Quest, str + pos, 1, len);
//logger.DebugCategory(EQEmuLogSys::Detail, EQEmuLogSys::Quests, str);
//std::cout << str << "LOLOL\n";
len = 0;
pos = i+1;
} else {
@ -106,6 +108,7 @@ XS(XS_EQEmuIO_PRINT)
}
if(len > 0) {
LogFile->writebuf(EQEmuLog::Quest, str + pos, 1, len);
// logger.DebugCategory(EQEmuLogSys::Detail, EQEmuLogSys::Quest, str);
}
}