org.mentawai.log
Class Debug

java.lang.Object
  extended by org.mentawai.log.Debug

public class Debug
extends Object


Field Summary
static String FILENAME
           
 
Constructor Summary
Debug()
           
 
Method Summary
static void enable(boolean flag)
           
static boolean isEnabled()
           
static void log(Object... objects)
           
static void log(String... msgs)
           
static void roll()
           
static void setLogger(Logger logger)
          Set custom logger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILENAME

public static String FILENAME
Constructor Detail

Debug

public Debug()
Method Detail

enable

public static void enable(boolean flag)

isEnabled

public static boolean isEnabled()

roll

public static void roll()
                 throws IOException
Throws:
IOException

log

public static void log(String... msgs)

log

public static void log(Object... objects)

setLogger

public static void setLogger(Logger logger)
Set custom logger



Copyright © 2012. All Rights Reserved.