Class Debug
package: src.net.jxta.impl.xindice
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
println(Object message)
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)
Field Detail
Debugging
public final static boolean Debugging = true

LOG
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.
Method Detail
println
public static void println(Object message)

println
public static void println()

println
public static void println(Object obj, Object message)

printStackTrace
public static void printStackTrace(Throwable t)

setPrefix
public static void setPrefix(String debugPrefix)

setPrintStream
public static void setPrintStream(PrintStream outStream)

SetPrintStream
public static void SetPrintStream(PrintStream out)