Class RedCompositeConverter<E>
java.lang.Object
ch.qos.logback.core.pattern.Converter<E>
ch.qos.logback.core.pattern.FormattingConverter<E>
ch.qos.logback.core.pattern.DynamicConverter<E>
ch.qos.logback.core.pattern.CompositeConverter<E>
ch.qos.logback.core.pattern.color.ForegroundCompositeConverterBase<E>
ch.qos.logback.core.pattern.color.RedCompositeConverter<E>
- Type Parameters:
E-
- All Implemented Interfaces:
ContextAware,LifeCycle
Encloses a given set of converter output in red using the appropriate ANSI escape codes.
- Since:
- 1.0.5
-
Field Summary
Fields inherited from class ch.qos.logback.core.pattern.DynamicConverter
started -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetForegroundColorCode(E event) Derived classes return the foreground color specific to the derived class instance.Methods inherited from class ch.qos.logback.core.pattern.color.ForegroundCompositeConverterBase
transformMethods inherited from class ch.qos.logback.core.pattern.CompositeConverter
convert, getChildConverter, setChildConverter, toStringMethods inherited from class ch.qos.logback.core.pattern.DynamicConverter
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList, start, stopMethods inherited from class ch.qos.logback.core.pattern.FormattingConverter
getFormattingInfo, setFormattingInfo, write
-
Constructor Details
-
RedCompositeConverter
public RedCompositeConverter()
-
-
Method Details
-
getForegroundColorCode
Description copied from class:ForegroundCompositeConverterBaseDerived classes return the foreground color specific to the derived class instance.- Specified by:
getForegroundColorCodein classForegroundCompositeConverterBase<E>- Returns:
- the foreground color for this instance
-