|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tsik.common.Log4jLogger
A logger using ASF Log4J. You will need log4j.jar in the classpath for this logger to work.
Method Summary | |
---|---|
void |
debug(Object message)
Debugs the message. |
void |
error(Object message)
Errors the message. |
void |
fatal(Object message)
Fatals the message. |
static Logger |
getLogger(Class c)
Returns a Log4J logger. |
void |
info(Object message)
Infos the message. |
boolean |
isDebugEnabled()
Returns wether the logger is debug enabled. |
void |
warn(Object message)
Warns the message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Logger getLogger(Class c)
c
- the class to look up logger for.
public boolean isDebugEnabled()
Logger
isDebugEnabled
in interface Logger
public void debug(Object message)
Logger
debug
in interface Logger
message
- the message to emit.public void info(Object message)
Logger
info
in interface Logger
message
- the message to emit.public void warn(Object message)
Logger
warn
in interface Logger
message
- the message to emit.public void error(Object message)
Logger
error
in interface Logger
message
- the message to emit.public void fatal(Object message)
Logger
fatal
in interface Logger
message
- the message to emit.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |