Core/Logging: Remove LOG_FILTER_XXX defines with it's value (remember logger names are case-sensitive)
This commit is contained in:
1 parent
16a51e328a
commit
94e2b9332a
238 files changed
+4540
-4587
No files matched your search
@@ -74,7 +74,7 @@ bool AddonHandler::BuildAddonPacket(WorldPacket* source, WorldPacket* target)
|
||||
|
||||
AddOnPacked >> enabled >> crc >> unk2;
|
||||
|
||||
TC_LOG_DEBUG(LOG_FILTER_NETWORKIO, "ADDON: Name: %s, Enabled: 0x%x, CRC: 0x%x, Unknown2: 0x%x", addonName.c_str(), enabled, crc, unk2);
|
||||
TC_LOG_DEBUG("network", "ADDON: Name: %s, Enabled: 0x%x, CRC: 0x%x, Unknown2: 0x%x", addonName.c_str(), enabled, crc, unk2);
|
||||
|
||||
uint8 state = (enabled ? 2 : 1);
|
||||
*target << uint8(state);
|
||||
@@ -128,11 +128,11 @@ bool AddonHandler::BuildAddonPacket(WorldPacket* source, WorldPacket* target)
|
||||
*target << uint32(count);
|
||||
|
||||
if (AddOnPacked.rpos() != AddOnPacked.size())
|
||||
TC_LOG_DEBUG(LOG_FILTER_NETWORKIO, "packet under read!");
|
||||
TC_LOG_DEBUG("network", "packet under read!");
|
||||
}
|
||||
else
|
||||
{
|
||||
TC_LOG_ERROR(LOG_FILTER_NETWORKIO, "Addon packet uncompress error :(");
|
||||
TC_LOG_ERROR("network", "Addon packet uncompress error :(");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user