Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.

This commit is contained in:
Machiavelli committed 2011-02-20 20:16:34 +01:00
1 parent 45db1591a4
commit e07e20ffca
99 files changed
+1046 -1092

No files matched your search

+2 -2
View File
@@ -400,7 +400,7 @@ uint32 CalculatePowerCost(SpellEntry const * spellInfo, Unit const * caster, Spe
break;
case POWER_RUNE:
case POWER_RUNIC_POWER:
sLog->outDebug("CalculateManaCost: Not implemented yet!");
sLog->outDebug(LOG_FILTER_SPELLS_AURAS, "CalculateManaCost: Not implemented yet!");
break;
default:
sLog->outError("CalculateManaCost: Unknown power type '%d' in spell %d", spellInfo->powerType, spellInfo->Id);
@@ -1223,7 +1223,7 @@ void SpellMgr::LoadSpellTargetPositions()
if (found)
{
// if (!sSpellMgr->GetSpellTargetPosition(i))
// sLog->outDebug("Spell (ID: %u) does not have record in `spell_target_position`", i);
// sLog->outDebug(LOG_FILTER_SPELLS_AURAS, "Spell (ID: %u) does not have record in `spell_target_position`", i);
}
}