kaos.core.util
Class Log4jLogger
java.lang.Object
kaos.core.util.Logger
kaos.core.util.Log4jLogger
- All Implemented Interfaces:
- java.io.Serializable
public class Log4jLogger
- extends Logger
- See Also:
- Serialized Form
Constructor Summary |
Log4jLogger(org.apache.log4j.Logger logger)
|
Method Summary |
static Priority |
getPriority(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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log4jLogger
public Log4jLogger(org.apache.log4j.Logger logger)
getPriority
public static Priority getPriority(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