jChatBox.Util
Class Debug

java.lang.Object
  |
  +--jChatBox.Util.Debug
All Implemented Interfaces:
java.io.Serializable

public class Debug
extends java.lang.Object
implements java.io.Serializable

This class (Singleton) implements Debug features.

See Also:
Serialized Form

Field Summary
static java.lang.String EXT
           
static java.lang.String LOGFILE
           
 
Method Summary
static void destroy()
           
static Debug init()
          Debug Instantiation and initialization.
static void log(int level, java.lang.String name, java.lang.String msg)
          Log message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGFILE

public static java.lang.String LOGFILE

EXT

public static java.lang.String EXT
Method Detail

init

public static Debug init()
Debug Instantiation and initialization.
Build log filename from XMLConfig params.
Open log file.


log

public static void log(int level,
                       java.lang.String name,
                       java.lang.String msg)
Log message.


destroy

public static void destroy()