|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.encoder.EncoderBase<E>
ch.qos.logback.core.encoder.EchoEncoder<E>
public class EchoEncoder<E>
| Field Summary |
|---|
| Fields inherited from class ch.qos.logback.core.encoder.EncoderBase |
|---|
outputStream, started |
| Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase |
|---|
context |
| Constructor Summary | |
|---|---|
EchoEncoder()
|
|
| Method Summary | |
|---|---|
void |
close()
This method is called prior to the closing of the underling OutputStream. |
void |
doEncode(E event)
Encode and write an event to the appropriate OutputStream. |
void |
init(java.io.OutputStream os)
This method is called when the owning appender starts or whenever output needs to be directed to a new OutputStream, for instance as a result of a rollover. |
| Methods inherited from class ch.qos.logback.core.encoder.EncoderBase |
|---|
isStarted, start, stop |
| Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
|---|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ch.qos.logback.core.spi.ContextAware |
|---|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext |
| Constructor Detail |
|---|
public EchoEncoder()
| Method Detail |
|---|
public void doEncode(E event)
throws java.io.IOException
EncoderOutputStream.
Implementations are free to differ writing out of the encoded event and
instead write in batches.
java.io.IOException
public void close()
throws java.io.IOException
EncoderOutputStream. Implementations MUST not close the underlying
OutputStream which is the responsibility of the owning appender.
java.io.IOException
public void init(java.io.OutputStream os)
throws java.io.IOException
Encoder
init in interface Encoder<E>init in class EncoderBase<E>java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||