[longomatch/gameunits] Add some debug to gameunits manager
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/gameunits] Add some debug to gameunits manager
- Date: Mon, 5 Dec 2011 21:06:28 +0000 (UTC)
commit 7a0e6cb647e51ac1c889fab1164597e5f46477ab
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Nov 29 22:05:19 2011 +0100
Add some debug to gameunits manager
LongoMatch.Services/Services/GameUnitsManager.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Services/Services/GameUnitsManager.cs b/LongoMatch.Services/Services/GameUnitsManager.cs
index 616a704..6d951fa 100644
--- a/LongoMatch.Services/Services/GameUnitsManager.cs
+++ b/LongoMatch.Services/Services/GameUnitsManager.cs
@@ -65,6 +65,7 @@ namespace LongoMatch.Services
} else {
Log.Warning("Tryed to cancel a game unit that was not started: " + gameUnit);
}
+ Log.Debug("Cancelled pending unit for game unit:" + gameUnit);
}
private void StopGameUnit(GameUnit gameUnit) {
@@ -80,10 +81,12 @@ namespace LongoMatch.Services
gameUnit.Add(timeInfo);
gameUnitsStarted.Remove(gameUnit);
+ Log.Debug(String.Format("Added new unit:{0} to {1} ", timeInfo, gameUnit));
}
void HandleMainWindowGameUnitEvent (GameUnit gameUnit, LongoMatch.Common.GameUnitEventType eType)
{
+ Log.Debug("Received GameUnit event of type: " + eType);
switch (eType) {
case GameUnitEventType.Start:
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]