com.caucho.http.log
Class ErrorLog
java.lang.Object
com.caucho.http.log.AbstractErrorLog
com.caucho.http.log.ErrorLog
public class ErrorLog
- extends AbstractErrorLog
Represents an log of every error log request to the server.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorLog
public ErrorLog()
log
public void log(java.lang.String message,
HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
throws java.io.IOException
- Logs an error.
- Specified by:
log in class AbstractErrorLog
- Parameters:
message - the error messagerequest - the servlet requestresponse - the servlet responseapplication - the servlet context
- Throws:
java.io.IOException
log
public void log(java.lang.String message,
java.lang.Throwable e,
HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
throws java.io.IOException
- Logs a message to the error log.
- Specified by:
log in class AbstractErrorLog
- Parameters:
log - the error log to write the message.message - the message to writee - the exception to write
- Throws:
java.io.IOException
destroy
public void destroy()
throws java.io.IOException
- Cleanup the log.
- Overrides:
destroy in class AbstractErrorLog
- Throws:
java.io.IOException