java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.encoder.EncoderBase<E>
ch.qos.logback.core.testUtil.DummyEncoder<E>
- All Implemented Interfaces:
Encoder<E>,ContextAware,LifeCycle
-
Field Summary
FieldsFields inherited from class ch.qos.logback.core.encoder.EncoderBase
startedFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Encode an event as bytes.byte[]Get footer bytes.byte[]Get header bytes.voidsetCharset(Charset charset) voidsetFileFooter(String fileFooter) voidsetFileHeader(String fileHeader) Methods inherited from class ch.qos.logback.core.encoder.EncoderBase
isStarted, start, stopMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Field Details
-
DUMMY
-
-
Constructor Details
-
DummyEncoder
public DummyEncoder() -
DummyEncoder
-
-
Method Details
-
getCharset
-
setCharset
-
encode
-
headerBytes
Description copied from interface:EncoderGet header bytes. This method is typically called upon opening of an output stream.- Returns:
- header bytes. Null values are allowed.
-
getFileHeader
-
setFileHeader
-