Simplified logging facilities.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4131 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-05-19 22:47:44 +00:00
parent 98bbe02560
commit a22ca8b079
39 changed files with 286 additions and 358 deletions
+2 -4
View File
@@ -12,8 +12,6 @@ import com.threerings.io.ObjectOutputStream;
import com.threerings.io.Streamable;
import com.threerings.io.TypedArray;
import com.threerings.presents.Log;
/**
* The distributed set class provides a means by which an unordered set of
* objects can be maintained as a distributed object field. Entries can be
@@ -122,8 +120,8 @@ public class DSet
}
} else if (contains(elem)) {
com.threerings.presents.Log.warning("Refusing to add duplicate entry [set=" + this +
", entry=" + elem + "].");
Log.getLog(this).warning("Refusing to add duplicate entry " +
"[set=" + this + ", entry=" + elem + "].");
return false;
}