Class LevelConverter
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.classic.pattern.ClassicConverter
ch.qos.logback.classic.pattern.LevelConverter
- All Implemented Interfaces:
ContextAware, LifeCycle
-
Field Summary
Fields inherited from class DynamicConverter
started -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(ILoggingEvent le) The convert method is responsible for extracting data from the event and returning a formatted string representation.Methods 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
-
LevelConverter
public LevelConverter()
-
-
Method Details
-
convert
Description copied from class:ConverterThe convert method is responsible for extracting data from the event and returning a formatted string representation.- Specified by:
convertin classConverter<ILoggingEvent>- Parameters:
le- the event to convert- Returns:
- the formatted string representation
-