Module ch.qos.logback.classic
Class HighlightingCompositeConverter
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.core.pattern.color.ForegroundCompositeConverterBase<ILoggingEvent>
ch.qos.logback.classic.pattern.color.HighlightingCompositeConverter
- All Implemented Interfaces:
ContextAware
,LifeCycle
Highlights inner-text depending on the level, in bold red for events of level
ERROR, in red for WARN, in BLUE for INFO, and in the default color for other
levels.
-
Field Summary
Fields inherited from class ch.qos.logback.core.pattern.DynamicConverter
started
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Derived classes return the foreground color specific to the derived class instance.Methods inherited from class ch.qos.logback.core.pattern.color.ForegroundCompositeConverterBase
transform
Methods inherited from class ch.qos.logback.core.pattern.CompositeConverter
convert, getChildConverter, setChildConverter, toString
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
-
HighlightingCompositeConverter
public HighlightingCompositeConverter()
-
-
Method Details
-
getForegroundColorCode
Description copied from class:ForegroundCompositeConverterBase
Derived classes return the foreground color specific to the derived class instance.- Specified by:
getForegroundColorCode
in classForegroundCompositeConverterBase<ILoggingEvent>
- Returns:
- the foreground color for this instance
-