mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-14 20:12:26 +00:00
TCPConnection LogCategory Add
This commit is contained in:
parent
04f13bbf4b
commit
3c22b106ef
@ -70,6 +70,7 @@ public:
|
|||||||
Trading,
|
Trading,
|
||||||
Tradeskills,
|
Tradeskills,
|
||||||
Tribute,
|
Tribute,
|
||||||
|
TCP_Connection,
|
||||||
MaxCategoryID /* Don't Remove this*/
|
MaxCategoryID /* Don't Remove this*/
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -130,6 +131,7 @@ static const char* LogCategoryName[EQEmuLogSys::LogCategory::MaxCategoryID] = {
|
|||||||
"Trading",
|
"Trading",
|
||||||
"Tradeskills",
|
"Tradeskills",
|
||||||
"Tribute",
|
"Tribute",
|
||||||
|
"TCP_Connection"
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@ -900,7 +900,7 @@ ThreadReturnType TCPConnection::TCPConnectionLoop(void* tmp) {
|
|||||||
}
|
}
|
||||||
TCPConnection* tcpc = (TCPConnection*) tmp;
|
TCPConnection* tcpc = (TCPConnection*) tmp;
|
||||||
#ifndef WIN32
|
#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
|
#endif
|
||||||
tcpc->MLoopRunning.lock();
|
tcpc->MLoopRunning.lock();
|
||||||
while (tcpc->RunLoop()) {
|
while (tcpc->RunLoop()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user