Uncommenting log messages (these are very useful for the thane AVRG controller in msoy and can be configured without commenting them out)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5414 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -81,7 +81,7 @@ public class SafeObjectManager
|
|||||||
entry.availableFn = available;
|
entry.availableFn = available;
|
||||||
entry.failedFn = failed;
|
entry.failedFn = failed;
|
||||||
sub.subscribe(_omgr);
|
sub.subscribe(_omgr);
|
||||||
// _log.info("Subscribing to " + sub);
|
_log.info("Subscribing to " + sub);
|
||||||
_entries[oid] = entry;
|
_entries[oid] = entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -98,7 +98,7 @@ public class SafeObjectManager
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// _log.info("Unsubscribing from " + entry.sub);
|
_log.info("Unsubscribing from " + entry.sub);
|
||||||
if (entry.obj != null) {
|
if (entry.obj != null) {
|
||||||
entry.obj.removeListener(_objectDeathListenerAdapter);
|
entry.obj.removeListener(_objectDeathListenerAdapter);
|
||||||
}
|
}
|
||||||
@@ -115,7 +115,7 @@ public class SafeObjectManager
|
|||||||
*/
|
*/
|
||||||
public function unsubscribeAll () :void
|
public function unsubscribeAll () :void
|
||||||
{
|
{
|
||||||
// _log.info("Unsubscribing all objects");
|
_log.info("Unsubscribing all objects");
|
||||||
|
|
||||||
// get the keys (integer ids of subscribed objects)
|
// get the keys (integer ids of subscribed objects)
|
||||||
var ids :Array = new Array();
|
var ids :Array = new Array();
|
||||||
@@ -153,7 +153,7 @@ public class SafeObjectManager
|
|||||||
_log.warning("Object " + obj.getOid() + " available without request?!");
|
_log.warning("Object " + obj.getOid() + " available without request?!");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// _log.info("Object " + obj.getOid() + " now available");
|
_log.info("Object " + obj.getOid() + " now available");
|
||||||
entry.obj = obj;
|
entry.obj = obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -205,7 +205,7 @@ public class SafeObjectManager
|
|||||||
entry.obj = null;
|
entry.obj = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// _log.info("Object " + oid + " destroyed");
|
_log.info("Object " + oid + " destroyed");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected var _omgr :DObjectManager;
|
protected var _omgr :DObjectManager;
|
||||||
|
|||||||
Reference in New Issue
Block a user