diff options
author | Spp <spp@jorge.gr> | 2013-05-13 15:07:36 +0200 |
---|---|---|
committer | Spp <spp@jorge.gr> | 2013-05-13 15:07:36 +0200 |
commit | d1677b2db08f71a5bddedd9659cc5a66f325f47f (patch) | |
tree | afb68e15d84d4e64de9f80b9bbbeb126c4aa8c54 /src/server/shared/Packets/ByteBuffer.cpp | |
parent | 243c325ca4323feb4f7f80c0ecd3873c78cbf887 (diff) |
Core/Logging: Performance-related tweaks to logging system
All sLog->out* functions (except outCommand atm) are replaced with TC_LOG_* macros.
Memleak fix
Diffstat (limited to 'src/server/shared/Packets/ByteBuffer.cpp')
-rw-r--r-- | src/server/shared/Packets/ByteBuffer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/shared/Packets/ByteBuffer.cpp b/src/server/shared/Packets/ByteBuffer.cpp index 3b4be003858..43d147727f6 100644 --- a/src/server/shared/Packets/ByteBuffer.cpp +++ b/src/server/shared/Packets/ByteBuffer.cpp @@ -61,7 +61,7 @@ void ByteBuffer::print_storage() const o << read<uint8>(i) << " - "; o << " "; - sLog->outTrace(LOG_FILTER_NETWORKIO, "%s", o.str().c_str()); + TC_LOG_TRACE(LOG_FILTER_NETWORKIO, "%s", o.str().c_str()); } void ByteBuffer::textlike() const @@ -78,7 +78,7 @@ void ByteBuffer::textlike() const o << buf; } o << " "; - sLog->outTrace(LOG_FILTER_NETWORKIO, "%s", o.str().c_str()); + TC_LOG_TRACE(LOG_FILTER_NETWORKIO, "%s", o.str().c_str()); } void ByteBuffer::hexlike() const @@ -110,5 +110,5 @@ void ByteBuffer::hexlike() const o << buf; } o << " "; - sLog->outTrace(LOG_FILTER_NETWORKIO, "%s", o.str().c_str()); + TC_LOG_TRACE(LOG_FILTER_NETWORKIO, "%s", o.str().c_str()); } |