aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Packets
diff options
context:
space:
mode:
authorMachiavelli <machiavelli.trinity@gmail.com>2011-02-20 20:16:34 +0100
committerMachiavelli <machiavelli.trinity@gmail.com>2011-02-20 20:16:34 +0100
commite07e20ffcaf6911d4dd47e0895fbdc52c5a52f05 (patch)
treefcc0c8865a387c67b925df174e22f49820a985a0 /src/server/shared/Packets
parent45db1591a4959ca9d58fc40ea2294936bcf4bd10 (diff)
Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
Diffstat (limited to 'src/server/shared/Packets')
-rwxr-xr-xsrc/server/shared/Packets/ByteBuffer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/shared/Packets/ByteBuffer.h b/src/server/shared/Packets/ByteBuffer.h
index 198772c1d3a..e6672719226 100755
--- a/src/server/shared/Packets/ByteBuffer.h
+++ b/src/server/shared/Packets/ByteBuffer.h
@@ -416,10 +416,10 @@ class ByteBuffer
if(!sLog->IsOutDebug()) // optimize disabled debug output
return;
- sLog->outDebug("STORAGE_SIZE: %lu", (unsigned long)size() );
+ sLog->outDebug(LOG_FILTER_NETWORKIO, "STORAGE_SIZE: %lu", (unsigned long)size() );
for (uint32 i = 0; i < size(); ++i)
sLog->outDebugInLine("%u - ", read<uint8>(i) );
- sLog->outDebug(" ");
+ sLog->outDebug(LOG_FILTER_NETWORKIO, " ");
}
void textlike() const
@@ -427,10 +427,10 @@ class ByteBuffer
if(!sLog->IsOutDebug()) // optimize disabled debug output
return;
- sLog->outDebug("STORAGE_SIZE: %lu", (unsigned long)size() );
+ sLog->outDebug(LOG_FILTER_NETWORKIO, "STORAGE_SIZE: %lu", (unsigned long)size() );
for (uint32 i = 0; i < size(); ++i)
sLog->outDebugInLine("%c", read<uint8>(i) );
- sLog->outDebug(" ");
+ sLog->outDebug(LOG_FILTER_NETWORKIO, " ");
}
void hexlike() const
@@ -439,7 +439,7 @@ class ByteBuffer
return;
uint32 j = 1, k = 1;
- sLog->outDebug("STORAGE_SIZE: %lu", (unsigned long)size() );
+ sLog->outDebug(LOG_FILTER_NETWORKIO, "STORAGE_SIZE: %lu", (unsigned long)size() );
for (uint32 i = 0; i < size(); ++i)
{