Quantcast

Include node Id in the trace messages for easier debugging.

Johnny C. Lam [04-05-13 - 06:20]
Include node Id in the trace messages for easier debugging.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@888 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleBestAction.lua
diff --git a/OvaleBestAction.lua b/OvaleBestAction.lua
index 98bb9f1..15d2df5 100644
--- a/OvaleBestAction.lua
+++ b/OvaleBestAction.lua
@@ -255,7 +255,7 @@ local function ComputeFunction(element)
 			else
 				start = OvaleState.currentTime
 			end
-			Ovale:Logf("start=%f attenteFinCast=%s", start, OvaleState.attenteFinCast)
+			Ovale:Logf("start=%f attenteFinCast=%s [%d]", start, OvaleState.attenteFinCast, element.nodeId)
 			if start < OvaleState.attenteFinCast then
 				local si = OvaleState.currentSpellId and OvaleData.spellInfo[OvaleState.currentSpellId]
 				if not (si and si.canStopChannelling) then