|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.servlet.ServletInstallLog
This is an implementation of the IntallLog interface that is
useful when running installation systems inside servlets.
It renders the output to the servlet output stream.
InstallLog,
ConsoleInstallLog| Constructor Summary | |
protected |
ServletInstallLog()
The point is that we don't want the default constructor used. |
|
ServletInstallLog(PrintWriter theOutputStream)
Constructs a ControllerInstallLog and sets the ControllerResponse that we will be using to add the outputs to. |
| Method Summary | |
void |
debug(String message)
Log a debug message |
void |
error(String message)
Log an error message |
void |
error(String message,
Throwable error)
Log an error exception |
void |
info(String message)
Log an info message |
void |
warn(String message)
Log a warning message |
void |
warn(String message,
Throwable error)
Log a warning exception |
protected void |
writeException(Throwable error)
Adds the exceptions as nested outputs to the original log message |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServletInstallLog(PrintWriter theOutputStream)
throws IOException
protected ServletInstallLog()
| Method Detail |
public void debug(String message)
debug in interface InstallLogmessage - The message to log.public void info(String message)
info in interface InstallLogmessage - The message to log.public void warn(String message)
warn in interface InstallLogmessage - The message to log.
public void warn(String message,
Throwable error)
warn in interface InstallLogmessage - The message to log.error - The Throwable object to log
public void error(String message,
Throwable error)
error in interface InstallLogmessage - The message to log.error - The Throwable object to logpublic void error(String message)
error in interface InstallLogmessage - The message to log.protected void writeException(Throwable error)
error - the exception to log as well.
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||