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.ContextNameConverter
- All Implemented Interfaces:
ContextAware
,LifeCycle
Converts an event to the logger context's name.
- Author:
- Ceki Gülcü
-
Field Summary
Fields inherited from class ch.qos.logback.core.pattern.DynamicConverter
started
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(ILoggingEvent event) Return the name of the logger context's name.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 Details
-
ContextNameConverter
public ContextNameConverter()
-
-
Method Details
-
convert
Return the name of the logger context's name.- Specified by:
convert
in classConverter<ILoggingEvent>
- Parameters:
event
-
-