TCPConnection LogCategory Add

This commit is contained in:
Akkadius
2015-01-16 01:07:29 -06:00
parent 04f13bbf4b
commit 3c22b106ef
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -70,6 +70,7 @@ public:
Trading,
Tradeskills,
Tribute,
TCP_Connection,
MaxCategoryID /* Don't Remove this*/
};
@@ -130,6 +131,7 @@ static const char* LogCategoryName[EQEmuLogSys::LogCategory::MaxCategoryID] = {
"Trading",
"Tradeskills",
"Tribute",
"TCP_Connection"
};
#endif
+1 -1
View File
@@ -900,7 +900,7 @@ ThreadReturnType TCPConnection::TCPConnectionLoop(void* tmp) {
}
TCPConnection* tcpc = (TCPConnection*) tmp;
#ifndef WIN32
logger.LogDebug(EQEmuLogSys::Detail, "Starting TCPConnectionLoop with thread ID %d", pthread_self());
logger.LogDebugType(EQEmuLogSys::Detail, EQEmuLogSys::TCP_Connection, __FUNCTION__ " Starting TCPConnectionLoop with thread ID %d", pthread_self());
#endif
tcpc->MLoopRunning.lock();
while (tcpc->RunLoop()) {