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
@@ -161,8 +161,8 @@ public class MessageManager
// nothing to worry about
} catch (Throwable t) {
log.warning("Failure instantiating custom message bundle " +
"[mbclass=" + mbclass + ", error=" + t + "].");
log.warning("Failure instantiating custom message bundle", "mbclass", mbclass,
"error", t);
}
}
@@ -78,8 +78,7 @@ public class TrackedObject
if (count != null) {
count[0]--;
} else {
log.warning("Finalized TrackedObject missing counter! " +
"[class=" + clazz + "].");
log.warning("Finalized TrackedObject missing counter!", "class", clazz);
}
}
@@ -189,8 +189,8 @@ public class SignalManager
{
ObserverList<SignalHandler> list = _handlers.get(signal);
if (list == null || !list.contains(handler)) {
log.warning("Requested to remove non-registered handler [signal=" + signal +
", handler=" + handler + "].");
log.warning("Requested to remove non-registered handler", "signal", signal,
"handler", handler);
return;
}
list.remove(handler);