mirror of
https://github.com/mangosfour/server.git
synced 2025-12-31 13:37:07 +00:00
[9838] More log filters and macro uses.
* LogFilter_Weather * LogFilter_PeriodicAffects * LogFilter_PlayerMoves * LogFilter_SQLText * LogFilter_AIAndMovegens * LogFilter_PlayerStats
This commit is contained in:
parent
e83aa1ba9d
commit
722135b326
89 changed files with 996 additions and 997 deletions
|
|
@ -86,7 +86,7 @@ int RASocket::close(int)
|
|||
{
|
||||
if(closing_)
|
||||
return -1;
|
||||
sLog.outDebug("RASocket::close");
|
||||
DEBUG_LOG("RASocket::close");
|
||||
shutdown();
|
||||
|
||||
closing_ = true;
|
||||
|
|
@ -99,7 +99,7 @@ int RASocket::handle_close (ACE_HANDLE h, ACE_Reactor_Mask)
|
|||
{
|
||||
if(closing_)
|
||||
return -1;
|
||||
sLog.outDebug("RASocket::handle_close");
|
||||
DEBUG_LOG("RASocket::handle_close");
|
||||
ACE_GUARD_RETURN (ACE_Thread_Mutex, Guard, outBufferLock, -1);
|
||||
|
||||
closing_ = true;
|
||||
|
|
@ -146,7 +146,7 @@ int RASocket::handle_output (ACE_HANDLE)
|
|||
/// Read data from the network
|
||||
int RASocket::handle_input(ACE_HANDLE)
|
||||
{
|
||||
sLog.outDebug("RASocket::handle_input");
|
||||
DEBUG_LOG("RASocket::handle_input");
|
||||
if(closing_)
|
||||
{
|
||||
sLog.outError("Called RASocket::handle_input with closing_ = true");
|
||||
|
|
@ -157,7 +157,7 @@ int RASocket::handle_input(ACE_HANDLE)
|
|||
|
||||
if(readBytes <= 0)
|
||||
{
|
||||
sLog.outDebug("read %u bytes in RASocket::handle_input", readBytes);
|
||||
DEBUG_LOG("read %u bytes in RASocket::handle_input", readBytes);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue