|
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
|
+--com.devsphere.logging.ServletLogger
Logging mechanisms for servlets.
AbstractLogger| Constructor Summary | |
ServletLogger(javax.servlet.ServletContext context)
Creates the servlet logger. |
|
| Method Summary | |
void |
close()
This method does nothing. |
void |
flush()
This method does nothing. |
void |
log(java.lang.String message)
Logs a message. |
void |
log(java.lang.String message,
java.lang.Throwable throwable)
Logs a message and an exception. |
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 ServletLogger(javax.servlet.ServletContext context)
context - the servlet context used for logging.
java.lang.NullPointerException - if context
is null.| Method Detail |
public void log(java.lang.String message)
log in class AbstractLoggermessage - the message that has to be logged.public void log(java.lang.Throwable throwable)
log in class AbstractLoggerthrowable - the exception that has to be logged.
public void log(java.lang.String message,
java.lang.Throwable throwable)
log in class AbstractLoggermessage - the message that has to be logged.throwable - the exception that has to be logged.public void flush()
flush in class AbstractLoggerpublic void close()
close in class AbstractLogger
|
Devsphere.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||