org.apache.log.output.io
public class WriterTarget extends AbstractOutputTarget
Field Summary | |
---|---|
Writer | m_output |
Constructor Summary | |
---|---|
WriterTarget(Writer writer, Formatter formatter)
Construct target with a specific writer and formatter.
|
Method Summary | |
---|---|
void | close()
Shutdown target.
|
protected void | setWriter(Writer writer)
Set the writer.
|
protected void | shutdownWriter()
Shutdown Writer. |
protected void | write(String data)
Concrete implementation of output that writes out to underlying writer.
|
Parameters: writer the writer formatter the formatter
Parameters: writer the new writer
Parameters: data the data to output