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
@@ -83,7 +83,7 @@ Channel::Channel(std::string const& name, uint32 channelId, uint32 team):
|
||||
uint64 banned_guid = atol(*i);
|
||||
if (banned_guid)
|
||||
{
|
||||
TC_LOG_DEBUG(LOG_FILTER_CHATSYS, "Channel(%s) loaded bannedStore guid:" UI64FMTD "", name.c_str(), banned_guid);
|
||||
TC_LOG_DEBUG("chat.system", "Channel(%s) loaded bannedStore guid:" UI64FMTD "", name.c_str(), banned_guid);
|
||||
bannedStore.insert(banned_guid);
|
||||
}
|
||||
}
|
||||
@@ -95,7 +95,7 @@ Channel::Channel(std::string const& name, uint32 channelId, uint32 team):
|
||||
stmt->setString(0, name);
|
||||
stmt->setUInt32(1, _Team);
|
||||
CharacterDatabase.Execute(stmt);
|
||||
TC_LOG_DEBUG(LOG_FILTER_CHATSYS, "Channel(%s) saved in database", name.c_str());
|
||||
TC_LOG_DEBUG("chat.system", "Channel(%s) saved in database", name.c_str());
|
||||
}
|
||||
|
||||
_IsSaved = true;
|
||||
@@ -123,7 +123,7 @@ void Channel::UpdateChannelInDB() const
|
||||
stmt->setUInt32(5, _Team);
|
||||
CharacterDatabase.Execute(stmt);
|
||||
|
||||
TC_LOG_DEBUG(LOG_FILTER_CHATSYS, "Channel(%s) updated in database", _name.c_str());
|
||||
TC_LOG_DEBUG("chat.system", "Channel(%s) updated in database", _name.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ void Channel::CleanOldChannelsInDB()
|
||||
stmt->setUInt32(0, sWorld->getIntConfig(CONFIG_PRESERVE_CUSTOM_CHANNEL_DURATION) * DAY);
|
||||
CharacterDatabase.Execute(stmt);
|
||||
|
||||
TC_LOG_DEBUG(LOG_FILTER_CHATSYS, "Cleaned out unused custom chat channels.");
|
||||
TC_LOG_DEBUG("chat.system", "Cleaned out unused custom chat channels.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -527,7 +527,7 @@ void Channel::List(Player const* player)
|
||||
return;
|
||||
}
|
||||
|
||||
TC_LOG_DEBUG(LOG_FILTER_CHATSYS, "SMSG_CHANNEL_LIST %s Channel: %s",
|
||||
TC_LOG_DEBUG("chat.system", "SMSG_CHANNEL_LIST %s Channel: %s",
|
||||
player->GetSession()->GetPlayerInfo().c_str(), GetName().c_str());
|
||||
|
||||
WorldPacket data(SMSG_CHANNEL_LIST, 1+(GetName().size()+1)+1+4+playersStore.size()*(8+1));
|
||||
|
||||
Reference in new issue
Block a user