javazoom.Util
Class Debug

java.lang.Object
  |
  +--javazoom.Util.Debug

public class Debug
extends java.lang.Object

This class implements a simple Debug Tool.

Author:
E.B from JavaZOOM

Method Summary
 void close()
          Closes log file.
static Debug getInstance()
          Returns Debug instance.
 void init(java.lang.String filename, int level)
          Inits log file.
 void log(int level, java.lang.String msg)
          Sends message to log file.
 void setLogLevel(int level)
          Sets log level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Debug getInstance()
Returns Debug instance.

init

public void init(java.lang.String filename,
                 int level)
Inits log file.

close

public void close()
Closes log file.

setLogLevel

public void setLogLevel(int level)
Sets log level.

log

public void log(int level,
                java.lang.String msg)
Sends message to log file.


JavaZOOM 1999-2002