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

public abstract Class FormattingConverter<E>

extends Converter<E>
Class Inheritance
Known Direct Subclasses
ch.qos.logback.core.pattern.DynamicConverter

Field Summary

Modifier and TypeField and Description
pack-priv FormatInfo
pack-priv static final int
pack-priv static final int
Inherited from ch.qos.logback.core.pattern.Converter:
next

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final FormatInfo
public final void
setFormattingInfo(FormatInfo formattingInfo)

public final void
write(StringBuilder
The input buffer where data is appended
buf
,
E
The event from where data is extracted
event
)

Overrides ch.qos.logback.core.pattern.Converter.write.

In its simplest incarnation, a convert simply appends the data extracted from the event to the buffer passed as parameter.
Inherited from ch.qos.logback.core.pattern.Converter:
convertgetNextsetNext

Field Detail

formattingInfoback to summary
pack-priv FormatInfo formattingInfo
INITIAL_BUF_SIZEback to summary
pack-priv static final int INITIAL_BUF_SIZE
MAX_CAPACITYback to summary
pack-priv static final int MAX_CAPACITY

Constructor Detail

FormattingConverterback to summary
public FormattingConverter()

Method Detail

getFormattingInfoback to summary
public final FormatInfo getFormattingInfo()
setFormattingInfoback to summary
public final void setFormattingInfo(FormatInfo formattingInfo)
writeback to summary
public final void write(StringBuilder buf, E event)

Overrides ch.qos.logback.core.pattern.Converter.write.

Doc from ch.qos.logback.core.pattern.Converter.write.

In its simplest incarnation, a convert simply appends the data extracted from the event to the buffer passed as parameter.

Parameters
buf:StringBuilder

The input buffer where data is appended

event:E

The event from where data is extracted

Annotations
@Override