java.lang.Object
ch.qos.logback.core.pattern.Converter<E>
- Direct Known Subclasses:
FormattingConverter
,LiteralConverter
A minimal converter which sets up the general interface for derived classes.
It also implements the functionality to chain converters in a linked list.
- Author:
- ceki
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
The convert method is responsible for extracting data from the event and storing it for later use by the write method.getNext()
final void
void
write
(StringBuilder buf, E event) In its simplest incarnation, a convert simply appends the data extracted from the event to the buffer passed as parameter.
-
Constructor Details
-
Converter
public Converter()
-
-
Method Details
-
convert
-
write
In its simplest incarnation, a convert simply appends the data extracted from the event to the buffer passed as parameter.- Parameters:
buf
- The input buffer where data is appendedevent
- The event from where data is extracted
-
setNext
-
getNext
-