Logs::None added to LogDebug

This commit is contained in:
Akkadius
2019-09-01 23:54:24 -05:00
parent 00c40f5d9e
commit bfd0752c4d
21 changed files with 134 additions and 134 deletions
+4 -4
View File
@@ -87,7 +87,7 @@ void Trade::AddEntity(uint16 trade_slot_id, uint32 stack_size) {
if (!owner || !owner->IsClient()) {
// This should never happen
Log(Logs::General, Logs::None, "Programming error: NPC's should not call Trade::AddEntity()");
LogDebug("Programming error: NPC's should not call Trade::AddEntity()");
return;
}
@@ -369,7 +369,7 @@ void Client::ResetTrade() {
break;
if (partial_inst->GetID() != inst->GetID()) {
Log(Logs::Detail, Logs::None, "[CLIENT] Client::ResetTrade() - an incompatible location reference was returned by Inventory::FindFreeSlotForTradeItem()");
LogDebug("[CLIENT] Client::ResetTrade() - an incompatible location reference was returned by Inventory::FindFreeSlotForTradeItem()");
break;
}
@@ -2182,7 +2182,7 @@ void Client::HandleTraderPriceUpdate(const EQApplicationPacket *app) {
TraderCharges_Struct* gis = database.LoadTraderItemWithCharges(CharacterID());
if(!gis) {
Log(Logs::Detail, Logs::None, "[CLIENT] Error retrieving Trader items details to update price.");
LogDebug("[CLIENT] Error retrieving Trader items details to update price");
return;
}
@@ -2371,7 +2371,7 @@ void Client::SendBuyerResults(char* searchString, uint32 searchID) {
// This method is called when a potential seller in the /barter window searches for matching buyers
//
Log(Logs::Detail, Logs::None, "[CLIENT] Client::SendBuyerResults %s\n", searchString);
LogDebug("[CLIENT] Client::SendBuyerResults [{}]\n", searchString);
auto escSearchString = new char[strlen(searchString) * 2 + 1];
database.DoEscapeString(escSearchString, searchString, strlen(searchString));