public final class Debug
Debug is a debugging class for the Xindice Server. Because the class
and the Debugging field are final, the Java compiler should always
inline the methods and optimize them away if Debugging is set to false.
| Field Summary |
public final static boolean |
|
private final static Logger |
Log4J Logger. |
| Method Summary |
public static void |
|
public static void |
|
public static void |
println(Object obj, Object message) |
public static void |
|
public static void |
|
public static void |
|
public static void |
|
public final static boolean Debugging = true
private final static Logger LOG = Logger.getLogger(Debug.class.getName())
Log4J Logger. Since this is the logger for the whole of xindice, we
compose the name a little differently than normal.
public static void println(Object message)
public static void println()
public static void println(Object obj, Object message)
public static void printStackTrace(Throwable t)
public static void setPrefix(String debugPrefix)
public static void setPrintStream(PrintStream outStream)
public static void SetPrintStream(PrintStream out)