Varargified log calls.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5697 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2009-03-26 00:02:19 +00:00
parent 647a25dfdc
commit 688f2580ed
46 changed files with 231 additions and 272 deletions
@@ -164,7 +164,7 @@ public class PlaceRegistry
try {
pmgr.shutdown();
} catch (Exception e) {
log.warning("Place manager failed shutting down [where=" + pmgr.where() + "].", e);
log.warning("Place manager failed shutting down", "where", pmgr.where(), e);
}
}
}
@@ -222,7 +222,7 @@ public class PlaceRegistry
pmgr.startup(plobj);
} catch (Exception e) {
log.warning("Error starting place manager [obj=" + plobj + ", pmgr=" + pmgr + "].", e);
log.warning("Error starting place manager", "obj", plobj, "pmgr", pmgr, e);
}
return pmgr;
@@ -258,7 +258,7 @@ public class PlaceRegistry
int ploid = pmgr.getPlaceObject().getOid();
// remove it from the table
if (_pmgrs.remove(ploid) == null) {
log.warning("Requested to unmap unmapped place manager [pmgr=" + pmgr + "].");
log.warning("Requested to unmap unmapped place manager", "pmgr", pmgr);
// } else {
// Log.info("Unmapped place manager [class=" + pmgr.getClass().getName() +