Package ch.qos.logback.core.pattern
Class Converter<E>
- java.lang.Object
-
- ch.qos.logback.core.pattern.Converter<E>
-
- Direct Known Subclasses:
FormattingConverter
,LiteralConverter
@Deprecated(since="2022-01-27") public abstract class Converter<E> extends java.lang.Object
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.A minimal converter which sets up the general interface for derived classes. It also implements the functionality to chain converters in a linked list.
-
-
Constructor Summary
Constructors Constructor Description Converter()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract java.lang.String
convert(E event)
Deprecated.The convert method is responsible for extracting data from the event and storing it for later use by the write method.Converter<E>
getNext()
Deprecated.void
setNext(Converter<E> next)
Deprecated.void
write(java.lang.StringBuilder buf, E event)
Deprecated.In its simplest incarnation, a convert simply appends the data extracted from the event to the buffer passed as parameter.
-
-
-
Method Detail
-
convert
public abstract java.lang.String convert(E event)
Deprecated.The convert method is responsible for extracting data from the event and storing it for later use by the write method.- Parameters:
event
-
-
write
public void write(java.lang.StringBuilder buf, E event)
Deprecated.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
-
-