added ThreadPool class
[org.ibex.util.git] / src / org / ibex / util / Log.java
index 2f69732..ebc8351 100644 (file)
@@ -18,6 +18,8 @@ import java.net.Socket;
 import java.net.InetAddress;
 import java.text.SimpleDateFormat;
 
+// FEATURE: logging exceptions should automatically unwrap exceptions
+
 /** Easy to use logger.
  * 
  * @author adam@ibex.org
@@ -70,7 +72,7 @@ public class Log {
     }
     public static void clearnotes() { if (!notes) return; notebuf().setLength(0); }
 
-    private static final Basket.Map notebufs = new Basket.HashMap();
+    private static final Basket.Map notebufs = new Basket.Hash();
     public static StringBuffer notebuf() {
         StringBuffer ret = (StringBuffer)notebufs.get(Thread.currentThread());
         if (ret == null) {