kaos.core.util
Class Logger
java.lang.Object
kaos.core.util.Logger
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- CougaarLogger, JavaLogger, Log4jLogger, SimpleLogger
public abstract class Logger
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FATAL
public static final int FATAL
- See Also:
- Constant Field Values
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
WARN
public static final int WARN
- See Also:
- Constant Field Values
INFO
public static final int INFO
- See Also:
- Constant Field Values
DEBUG
public static final int DEBUG
- See Also:
- Constant Field Values
LEVEL_GENERAL
public static final int LEVEL_GENERAL
- See Also:
- Constant Field Values
LEVEL_MAJOR
public static final int LEVEL_MAJOR
- See Also:
- Constant Field Values
LEVEL_CAPTAIN
public static final int LEVEL_CAPTAIN
- See Also:
- Constant Field Values
LEVEL_PRIVATE
public static final int LEVEL_PRIVATE
- See Also:
- Constant Field Values
Logger
public Logger()
setLoggerFactory
public static void setLoggerFactory(LoggerFactory factory)
getLoggerFactory
public static LoggerFactory getLoggerFactory()
getLogger
public static Logger getLogger(java.lang.Object requestor)
isEnabledFor
public abstract boolean isEnabledFor(int level)
logMessage
public abstract void logMessage(java.lang.String pMessage,
int pLevel)
logMessage
public abstract void logMessage(java.lang.String message,
java.lang.Throwable t,
int level)