kaos.core.util
Class JavaLogger

java.lang.Object
  extended by kaos.core.util.Logger
      extended by kaos.core.util.JavaLogger
All Implemented Interfaces:
java.io.Serializable

public class JavaLogger
extends Logger

See Also:
Serialized Form

Nested Class Summary
static class JavaLogger.MyFormatter
           
 
Field Summary
 
Fields inherited from class kaos.core.util.Logger
DEBUG, ERROR, FATAL, INFO, LEVEL_CAPTAIN, LEVEL_GENERAL, LEVEL_MAJOR, LEVEL_PRIVATE, WARN
 
Constructor Summary
JavaLogger(java.lang.Object requestor)
           
 
Method Summary
 boolean isEnabledFor(int level)
           
 void logMessage(java.lang.String message, int level)
           
 void logMessage(java.lang.String message, java.lang.Throwable t, int level)
           
 
Methods inherited from class kaos.core.util.Logger
getLogger, getLoggerFactory, setLoggerFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaLogger

public JavaLogger(java.lang.Object requestor)
Method Detail

isEnabledFor

public boolean isEnabledFor(int level)
Specified by:
isEnabledFor in class Logger

logMessage

public void logMessage(java.lang.String message,
                       int level)
Specified by:
logMessage in class Logger

logMessage

public void logMessage(java.lang.String message,
                       java.lang.Throwable t,
                       int level)
Specified by:
logMessage in class Logger