org.apache.log.output
Class ServletOutputLogTarget
- Closeable, ErrorAware, LogTarget
public class ServletOutputLogTarget
Generic logging interface. Implementations are based on the strategy
pattern.
void | close() - Shutdown target.
|
protected void | write(String message) - Logs message to servlet context log file
|
m_context
private ServletContext m_context
ServletOutputLogTarget
public ServletOutputLogTarget(ServletContext context)
Constructor.
context
- ServletContext to use for logging.
ServletOutputLogTarget
public ServletOutputLogTarget(ServletContext context,
Formatter formatter)
Constructor.
context
- ServletContext to use for logging.
write
protected void write(String message)
Logs message to servlet context log file
- write in interface AbstractOutputTarget
message
- message to log to servlet context log file.