Top Fields Constructors Methods
ch.qos.logback.core.encoder

public Class EchoEncoder<E>

extends EncoderBase<E>
Class Inheritance
Imports
ch.qos.logback.core.CoreConstants

Field Summary

Modifier and TypeField and Description
pack-priv String
pack-priv String
Inherited from ch.qos.logback.core.encoder.EncoderBase:
started

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public byte[]
encode(E event)

Implements ch.qos.logback.core.encoder.Encoder.encode.

Encode an event as bytes.
public byte[]
public byte[]
Inherited from ch.qos.logback.core.encoder.EncoderBase:
isStartedstartstop

Field Detail

fileFooterback to summary
pack-priv String fileFooter
fileHeaderback to summary
pack-priv String fileHeader

Constructor Detail

EchoEncoderback to summary
public EchoEncoder()

Method Detail

encodeback to summary
public byte[] encode(E event)

Implements ch.qos.logback.core.encoder.Encoder.encode.

Doc from ch.qos.logback.core.encoder.Encoder.encode.

Encode an event as bytes.

footerBytesback to summary
public byte[] footerBytes()

Implements ch.qos.logback.core.encoder.Encoder.footerBytes.

Doc from ch.qos.logback.core.encoder.Encoder.footerBytes.

Get footer bytes. This method is typically called prior to the closing of the stream where events are written.

Returns:byte[]

footer bytes. Null values are allowed.

headerBytesback to summary
public byte[] headerBytes()

Implements ch.qos.logback.core.encoder.Encoder.headerBytes.

Doc from ch.qos.logback.core.encoder.Encoder.headerBytes.

Get header bytes. This method is typically called upon opening of an output stream.

Returns:byte[]

header bytes. Null values are allowed.