org.relayirc.util
Class Debug

java.lang.Object
  extended by org.relayirc.util.Debug

public class Debug
extends java.lang.Object

Primitive debug logging facility.


Constructor Summary
Debug()
           
 
Method Summary
static boolean isDebug()
          Wap, wap -- is this thing turn on?
static void println(java.lang.String msg)
          Write to debug message output destination.
static void printStackTrace(java.lang.Exception e)
          Write exception text to message output destination.
static void setDebug(boolean flag)
          Turn on debug message output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Debug

public Debug()
Method Detail

setDebug

public static void setDebug(boolean flag)
Turn on debug message output.


isDebug

public static boolean isDebug()
Wap, wap -- is this thing turn on?


println

public static void println(java.lang.String msg)
Write to debug message output destination.


printStackTrace

public static void printStackTrace(java.lang.Exception e)
Write exception text to message output destination.