ch.qos.logback.core.pattern.color
Class WhiteCompositeConverter<E>

java.lang.Object
  extended by ch.qos.logback.core.pattern.Converter<E>
      extended by ch.qos.logback.core.pattern.FormattingConverter<E>
          extended by ch.qos.logback.core.pattern.DynamicConverter<E>
              extended by ch.qos.logback.core.pattern.CompositeConverter<E>
                  extended by ch.qos.logback.core.pattern.color.ForegroundCompositeConverterBase<E>
                      extended by ch.qos.logback.core.pattern.color.WhiteCompositeConverter<E>
Type Parameters:
E -
All Implemented Interfaces:
ContextAware, LifeCycle

public class WhiteCompositeConverter<E>
extends ForegroundCompositeConverterBase<E>

Encloses a given set of converter output in white using the appropriate ANSI escape codes.

Author:
Ceki Gülcü

Field Summary
 
Fields inherited from class ch.qos.logback.core.pattern.DynamicConverter
started
 
Constructor Summary
WhiteCompositeConverter()
           
 
Method Summary
protected  String getForegroundColorCode(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
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
 
Methods inherited from class ch.qos.logback.core.pattern.Converter
getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WhiteCompositeConverter

public WhiteCompositeConverter()
Method Detail

getForegroundColorCode

protected String getForegroundColorCode(E event)
Description copied from class: ForegroundCompositeConverterBase
Derived classes return the foreground color specific to the derived class instance.

Specified by:
getForegroundColorCode in class ForegroundCompositeConverterBase<E>
Returns:
the foreground color for this instance


Copyright © 2005-2012 QOS.ch. All Rights Reserved.