Class PrefixCompositeConverter
java.lang.Object
ch.qos.logback.core.pattern.Converter<ILoggingEvent>
ch.qos.logback.core.pattern.FormattingConverter<ILoggingEvent>
ch.qos.logback.core.pattern.DynamicConverter<ILoggingEvent>
ch.qos.logback.core.pattern.CompositeConverter<ILoggingEvent>
ch.qos.logback.classic.pattern.PrefixCompositeConverter
- All Implemented Interfaces:
ContextAware, LifeCycle
-
Field Summary
Fields inherited from class DynamicConverter
started -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(ILoggingEvent event) The convert method is responsible for extracting data from the event and returning a formatted string representation.protected Stringtransform(ILoggingEvent event, String in) Methods inherited from class CompositeConverter
getChildConverter, setChildConverter, toStringMethods inherited from class DynamicConverter
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList, start, stopMethods inherited from class FormattingConverter
getFormattingInfo, setFormattingInfo, write
-
Constructor Details
-
PrefixCompositeConverter
public PrefixCompositeConverter()
-
-
Method Details
-
convert
Description copied from class:ConverterThe convert method is responsible for extracting data from the event and returning a formatted string representation.- Overrides:
convertin classCompositeConverter<ILoggingEvent>- Parameters:
event- the event to convert- Returns:
- the formatted string representation
-
transform
- Specified by:
transformin classCompositeConverter<ILoggingEvent>
-