mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-30 17:42:27 +00:00
Convert Perl Quest Logging to the new system
This commit is contained in:
parent
ef4847555a
commit
1fcc1f6193
@ -97,9 +97,7 @@ XS(XS_EQEmuIO_PRINT)
|
|||||||
int len = 0;
|
int len = 0;
|
||||||
for(i = 0; *cur != '\0'; i++, cur++) {
|
for(i = 0; *cur != '\0'; i++, cur++) {
|
||||||
if(*cur == '\n') {
|
if(*cur == '\n') {
|
||||||
LogFile->writebuf(EQEmuLog::Quest, str + pos, 1, len);
|
logger.DebugCategory(EQEmuLogSys::Detail, EQEmuLogSys::Quests, str);
|
||||||
//logger.DebugCategory(EQEmuLogSys::Detail, EQEmuLogSys::Quests, str);
|
|
||||||
//std::cout << str << "LOLOL\n";
|
|
||||||
len = 0;
|
len = 0;
|
||||||
pos = i+1;
|
pos = i+1;
|
||||||
} else {
|
} else {
|
||||||
@ -107,8 +105,7 @@ XS(XS_EQEmuIO_PRINT)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(len > 0) {
|
if(len > 0) {
|
||||||
LogFile->writebuf(EQEmuLog::Quest, str + pos, 1, len);
|
logger.DebugCategory(EQEmuLogSys::Detail, EQEmuLogSys::Quest, str);
|
||||||
// logger.DebugCategory(EQEmuLogSys::Detail, EQEmuLogSys::Quest, str);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user