|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log.output.AbstractTarget org.apache.log.output.AbstractOutputTarget org.apache.log.output.ServletOutputLogTarget
Generic logging interface. Implementations are based on the strategy pattern.
Constructor Summary | |
ServletOutputLogTarget(javax.servlet.ServletContext context)
Constructor. |
|
ServletOutputLogTarget(javax.servlet.ServletContext context,
Formatter formatter)
Constructor. |
Method Summary | |
void |
close()
Shutdown target. |
protected void |
write(java.lang.String message)
Logs message to servlet context log file |
Methods inherited from class org.apache.log.output.AbstractOutputTarget |
doProcessEvent, getFormatter, open |
Methods inherited from class org.apache.log.output.AbstractTarget |
getErrorHandler, isOpen, processEvent, setErrorHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServletOutputLogTarget(javax.servlet.ServletContext context, Formatter formatter)
context
- ServletContext to use for logging.public ServletOutputLogTarget(javax.servlet.ServletContext context)
context
- ServletContext to use for logging.Method Detail |
protected void write(java.lang.String message)
write
in class AbstractOutputTarget
message
- message to log to servlet context log file.public void close()
close
in interface Closeable
close
in class AbstractOutputTarget
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |