org.apache.log.output.io
public class WriterTarget extends AbstractOutputTarget
| Field Summary | |
|---|---|
| protected 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.
|
Deprecated: Accessing this variable in subclasses is no longer supported and will become private in the future.
Parameters: writer the writer formatter the formatter
Parameters: writer the new writer
Parameters: data the data to output