Class ColorConverter

  • All Implemented Interfaces:
    ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle

    public class ColorConverter
    extends ch.qos.logback.core.pattern.CompositeConverter<ch.qos.logback.classic.spi.ILoggingEvent>
    Custom color converter for logback using jansi.
    • Field Summary

      • Fields inherited from class ch.qos.logback.core.pattern.DynamicConverter

        started
    • Constructor Summary

      Constructors 
      Constructor Description
      ColorConverter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected String transform​(ch.qos.logback.classic.spi.ILoggingEvent event, String in)  
      • 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
    • Constructor Detail

      • ColorConverter

        public ColorConverter()
    • Method Detail

      • transform

        protected String transform​(ch.qos.logback.classic.spi.ILoggingEvent event,
                                   String in)
        Specified by:
        transform in class ch.qos.logback.core.pattern.CompositeConverter<ch.qos.logback.classic.spi.ILoggingEvent>