2003/11/18 10:47:28
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:41:53 +0000 (07:41 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:41:53 +0000 (07:41 +0000)
darcs-hash:20040130074153-2ba56-4f9e3c88dd2bac08f23c0cfcb24faa574023fc84.gz

src/org/xwt/util/Log.java

index fbed19c..269b2f2 100644 (file)
@@ -17,7 +17,7 @@ public class Log {
 
     /** log a message with the current JavaScript sourceName/line */
     public static void logJS(Object o, Object message) { logJS(message); }
-    public static void logJS(Object message) { log(JSContext.getSourceName() + ":" + JSContext.getLine(), message); }
+    public static void logJS(Object message) { log(JS.getSourceName() + ":" + JS.getLine(), message); }
 
     /** message can be a String or a Throwable */
     public static synchronized void log(Object o, Object message) {