|
||||||||||
| 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.io.WriterTarget
|
+--org.apache.log.output.DefaultOutputLogTarget
This is a basic Output log target that writes to a stream. The format is specified via a string.
| Field Summary |
| Fields inherited from class org.apache.log.output.io.WriterTarget |
m_output |
| Fields inherited from class org.apache.log.output.AbstractOutputTarget |
m_formatter |
| Constructor Summary | |
DefaultOutputLogTarget()
Deprecated. Default Constructor. |
|
DefaultOutputLogTarget(Formatter formatter)
Deprecated. |
|
DefaultOutputLogTarget(OutputStream output)
Deprecated. Constructor that takes a stream arguement. |
|
DefaultOutputLogTarget(Writer writer)
Deprecated. Constructor that takes a writer parameter. |
|
DefaultOutputLogTarget(Writer writer,
Formatter formatter)
Deprecated. |
|
| Method Summary | |
protected void |
initPattern()
Deprecated. This is no longer the recomended way to set formatter. It is recomended that it be passed into constructor. |
void |
setFormat(String format)
Deprecated. This method is unsafe as it assumes formatter is PatternFormatter and accesses a protected attribute. Instead of calling this method It is recomended that a fully configured formatter is passed into constructor. |
| Methods inherited from class org.apache.log.output.io.WriterTarget |
close, setWriter, shutdownWriter, write |
| Methods inherited from class org.apache.log.output.AbstractOutputTarget |
doProcessEvent, getFormatter, open, output, setFormatter |
| Methods inherited from class org.apache.log.output.AbstractTarget |
error, 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 DefaultOutputLogTarget(Formatter formatter)
public DefaultOutputLogTarget()
public DefaultOutputLogTarget(OutputStream output)
output - the output streampublic DefaultOutputLogTarget(Writer writer)
writer - the Writer
public DefaultOutputLogTarget(Writer writer,
Formatter formatter)
| Method Detail |
protected void initPattern()
public void setFormat(String format)
format - the format string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||