kaos.cougaar.clik.util
Class CougaarLogger

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

public class CougaarLogger
extends Logger

See Also:
Serialized Form

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
CougaarLogger(Logger logger)
           
 
Method Summary
static int getCougaarLevel(int kaosLevel)
           
 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

CougaarLogger

public CougaarLogger(Logger logger)
Method Detail

getCougaarLevel

public static int getCougaarLevel(int kaosLevel)

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

isEnabledFor

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