|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.jcrontab.log.Log4JLogger
This is the Log4jLogger as an example about how to use Log4J to log in Jcrontab
| Constructor Summary | |
Log4JLogger()
|
|
| Method Summary | |
void |
debug(java.lang.String message)
This method reports a debug level message to the log |
void |
error(java.lang.String message,
java.lang.Throwable t)
This method reports a Exception or Error to the log |
void |
info(java.lang.String message)
This method reports a message to the log |
void |
init()
This method does the basic initialization. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Log4JLogger()
| Method Detail |
public void init()
init in interface Loggerpublic void info(java.lang.String message)
info in interface Logger
public void error(java.lang.String message,
java.lang.Throwable t)
error in interface Loggerpublic void debug(java.lang.String message)
debug in interface Logger
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||