|
Devsphere.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.devsphere.logging.AbstractLogger
Abstract class whose methods are implemented by logging mechanisms.
CompoundLogger
,
PrintLogger
,
ServletLogger
Constructor Summary | |
AbstractLogger()
|
Method Summary | |
abstract void |
close()
Closes this logger and releases any associated resources. |
abstract void |
flush()
Flushes this logger and forces any buffered output characters to be written out. |
abstract void |
log(java.lang.String message)
Logs a message. |
abstract void |
log(java.lang.String message,
java.lang.Throwable throwable)
Logs a message and an exception. |
abstract void |
log(java.lang.Throwable throwable)
Logs an exception. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractLogger()
Method Detail |
public abstract void log(java.lang.String message)
message
- the message that has to be logged.public abstract void log(java.lang.Throwable throwable)
throwable
- the exception that has to be logged.public abstract void log(java.lang.String message, java.lang.Throwable throwable)
message
- the message that has to be logged.throwable
- the exception that has to be logged.public abstract void flush()
public abstract void close()
|
Devsphere.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |