diff options
author | Spp <spp@jorge.gr> | 2012-08-16 01:25:17 +0200 |
---|---|---|
committer | Spp <spp@jorge.gr> | 2012-08-16 01:26:47 +0200 |
commit | 50a271b81f807fc69d05401bbd6ce9c88b92aadf (patch) | |
tree | 6fe21088784f9ef8b71d8d00150a80aa051f9a22 /src/server/shared/Logging/Log.cpp | |
parent | a465a43da0c641f152e64b912d94720c318158bf (diff) |
Core/Logging: Remove recently added "outOpCode" with outInfo(LOG_FILTER_OPCODE... (There is no need to create new function)
Also, set config options to behave like old log system by default
Diffstat (limited to 'src/server/shared/Logging/Log.cpp')
-rw-r--r-- | src/server/shared/Logging/Log.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/server/shared/Logging/Log.cpp b/src/server/shared/Logging/Log.cpp index 82fb5b9461e..8e740ba83b8 100644 --- a/src/server/shared/Logging/Log.cpp +++ b/src/server/shared/Logging/Log.cpp @@ -486,14 +486,6 @@ void Log::outCommand(uint32 account, const char * str, ...) write(msg); } -void Log::outOpCode(uint32 op, const char* name, bool smsg) -{ - if (!ShouldLog(LOG_FILTER_OPCODES, LOG_LEVEL_DEBUG)) - return; - - outInfo(LOG_FILTER_OPCODES, "%s: %s 0x%.4X (%u)", smsg ? "S->C" : "C->S", name, op, op); -} - void Log::SetRealmID(uint32 id) { realm = id; |