From 50a271b81f807fc69d05401bbd6ce9c88b92aadf Mon Sep 17 00:00:00 2001 From: Spp Date: Thu, 16 Aug 2012 01:25:17 +0200 Subject: 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 --- src/server/shared/Logging/Log.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/server/shared/Logging/Log.cpp') 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; -- cgit v1.2.3