org.mentawai.log
Class Debug
java.lang.Object
org.mentawai.log.Debug
public class Debug
- extends Object
|
Constructor Summary |
Debug()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILENAME
public static String FILENAME
Debug
public Debug()
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.