- java.lang.Object
-
- ch.qos.logback.core.pattern.Converter<E>
-
- ch.qos.logback.core.pattern.FormattingConverter<E>
-
- ch.qos.logback.core.pattern.DynamicConverter<ILoggingEvent>
-
- ch.qos.logback.classic.pattern.ClassicConverter
-
- ch.qos.logback.classic.pattern.FileOfCallerConverter
-
- All Implemented Interfaces:
ContextAware,LifeCycle
public class FileOfCallerConverter extends ClassicConverter
-
-
Field Summary
-
Fields inherited from class ch.qos.logback.core.pattern.DynamicConverter
started
-
-
Constructor Summary
Constructors Constructor Description FileOfCallerConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringconvert(ILoggingEvent le)The convert method is responsible for extracting data from the event and returning a formatted string representation.-
Methods inherited from class ch.qos.logback.core.pattern.DynamicConverter
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList, start, stop
-
Methods inherited from class ch.qos.logback.core.pattern.FormattingConverter
getFormattingInfo, setFormattingInfo, write
-
-
-
-
Constructor Detail
-
FileOfCallerConverter
public FileOfCallerConverter()
-
-
Method Detail
-
convert
public String convert(ILoggingEvent le)
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
-
-