Improved the debug-mode logging a bit.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4384 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -66,13 +66,13 @@ public class ObjectInputStream
|
|||||||
"Created mapping: (" + code + "): " + cname);
|
"Created mapping: (" + code + "): " + cname);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (DEBUG) log.debug(
|
|
||||||
DEBUG_ID + "Read known code: (" + code + ")");
|
|
||||||
cmap = (_classMap[code] as ClassMapping);
|
cmap = (_classMap[code] as ClassMapping);
|
||||||
if (null == cmap) {
|
if (null == cmap) {
|
||||||
throw new IOError("Read object for which we have no " +
|
throw new IOError("Read object for which we have no " +
|
||||||
"registered class metadata.");
|
"registered class metadata [code=" + code + "].");
|
||||||
}
|
}
|
||||||
|
if (DEBUG) log.debug(DEBUG_ID + "Read known code: (" +
|
||||||
|
code + ": " + cmap.classname + ")");
|
||||||
}
|
}
|
||||||
|
|
||||||
// log.debug("Creating object sleeve...");
|
// log.debug("Creating object sleeve...");
|
||||||
|
|||||||
Reference in New Issue
Block a user