org.mentawai.log
Class Error

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

public class Error
extends Object


Field Summary
static String FILENAME
           
 
Constructor Summary
Error()
           
 
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

Error

public Error()
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.