ErrorAware, LogTarget, Closeablepublic class ServletOutputLogTarget extends AbstractOutputTarget
| Modifier and Type | Field | Description |
|---|---|---|
private ServletContext |
m_context |
| Constructor | Description |
|---|---|
ServletOutputLogTarget(ServletContext context) |
Constructor.
|
ServletOutputLogTarget(ServletContext context,
Formatter formatter) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Shutdown target.
|
protected void |
write(java.lang.String message) |
Logs message to servlet context log file
|
doProcessEvent, getFormatter, opengetErrorHandler, isOpen, processEvent, setErrorHandlerprivate ServletContext m_context
public ServletOutputLogTarget(ServletContext context, Formatter formatter)
context - ServletContext to use for logging.public ServletOutputLogTarget(ServletContext context)
context - ServletContext to use for logging.protected void write(java.lang.String message)
write in class AbstractOutputTargetmessage - message to log to servlet context log file.public void close()
close in interface Closeableclose in class AbstractOutputTargetCopyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.