org.xwt.util
Class Log
java.lang.Object
org.xwt.util.Log
- public class Log
- extends java.lang.Object
easy to use logger
Constructor Summary |
Log()
|
Method Summary |
static void |
log(java.lang.Object o,
java.lang.Object message)
message can be a String or a Throwable |
static void |
logJS(java.lang.Object message)
|
static void |
logJS(java.lang.Object o,
java.lang.Object message)
log a message with the current JavaScript sourceName/line |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
on
public static boolean on
verbose
public static boolean verbose
logDates
public static boolean logDates
lastDate
public static java.util.Date lastDate
firstMessage
public static boolean firstMessage
- true iff nothing has yet been logged
Log
public Log()
logJS
public static void logJS(java.lang.Object o,
java.lang.Object message)
- log a message with the current JavaScript sourceName/line
logJS
public static void logJS(java.lang.Object message)
log
public static void log(java.lang.Object o,
java.lang.Object message)
- message can be a String or a Throwable