public class ErrorLog extends AbstractErrorLog
log, logStream| Constructor and Description |
|---|
ErrorLog() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Cleanup the log.
|
void |
log(java.lang.String message,
HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Logs an error.
|
void |
log(java.lang.String message,
java.lang.Throwable e,
HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Logs a message to the error log.
|
getLogStream, init, setLogStreampublic void log(java.lang.String message,
HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
throws java.io.IOException
log in class AbstractErrorLogmessage - the error messagerequest - the servlet requestresponse - the servlet responseapplication - the servlet contextjava.io.IOExceptionpublic void log(java.lang.String message,
java.lang.Throwable e,
HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
throws java.io.IOException
log in class AbstractErrorLoglog - the error log to write the message.message - the message to writee - the exception to writejava.io.IOExceptionpublic void destroy()
throws java.io.IOException
destroy in class AbstractErrorLogjava.io.IOException