Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
This commit is contained in:
@@ -217,12 +217,12 @@ void BattlegroundWS::RespawnFlag(uint32 Team, bool captured)
|
||||
{
|
||||
if (Team == ALLIANCE)
|
||||
{
|
||||
sLog->outDebug("Respawn Alliance flag");
|
||||
sLog->outDebug(LOG_FILTER_BATTLEGROUND, "Respawn Alliance flag");
|
||||
m_FlagState[BG_TEAM_ALLIANCE] = BG_WS_FLAG_STATE_ON_BASE;
|
||||
}
|
||||
else
|
||||
{
|
||||
sLog->outDebug("Respawn Horde flag");
|
||||
sLog->outDebug(LOG_FILTER_BATTLEGROUND, "Respawn Horde flag");
|
||||
m_FlagState[BG_TEAM_HORDE] = BG_WS_FLAG_STATE_ON_BASE;
|
||||
}
|
||||
|
||||
@@ -699,7 +699,7 @@ bool BattlegroundWS::SetupBattleground()
|
||||
return false;
|
||||
}
|
||||
|
||||
sLog->outDebug("BatteGroundWS: BG objects and spirit guides spawned");
|
||||
sLog->outDebug(LOG_FILTER_BATTLEGROUND, "BatteGroundWS: BG objects and spirit guides spawned");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user