In with the new logging

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6092 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Dave Hoover
2010-07-09 23:33:38 +00:00
parent 46835601af
commit b8e029fdad
3 changed files with 7 additions and 12 deletions
@@ -80,9 +80,8 @@ public class PlaceViewUtil
(root as PlaceView)[funct](plobj);
} catch (e :Error) {
var log :Log = Log.getLog(PlaceViewUtil);
log.warning("Component choked on " + funct + "() " +
"[component=" + root + ", plobj=" + plobj + "].");
log.logStackTrace(e);
log.warning("Component choked on " + funct + "() ", "component", root,
"plobj", plobj, e);
}
}
@@ -225,9 +225,7 @@ public class ClientDObjectMgr
}
} catch (e :Error) {
log.warning("Failure processing event [event=" + event +
", target=" + target + "].");
log.logStackTrace(e);
log.warning("Failure processing event", "event", event, "target", target, e);
}
}
@@ -257,9 +257,8 @@ public class InvocationDirector
try {
listener.dispatchResponse(methodId, args);
} catch (e :Error) {
log.warning("Invocation response listener choked [listener=" + listener +
", methId=" + methodId + ", args=" + args + "].");
log.logStackTrace(e);
log.warning("Invocation response listener choked", "listener", listener,
"methId", methodId, "args", args, e);
}
// flush expired listeners periodically
@@ -293,9 +292,8 @@ public class InvocationDirector
try {
decoder.dispatchNotification(methodId, args);
} catch (e :Error) {
log.warning("Invocation notification receiver choked [receiver=" + decoder.receiver +
", methId=" + methodId + ", args=" + args + "].");
log.logStackTrace(e);
log.warning("Invocation notification receiver choked", "receiver", decoder.receiver,
"methId", methodId, "args", args, e);
}
}