Class EnclosedInSquareBracketsConverter
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<ch.qos.logback.classic.spi.ILoggingEvent>
org.springframework.boot.logging.logback.EnclosedInSquareBracketsConverter
- All Implemented Interfaces:
ch.qos.logback.core.spi.ContextAware
,ch.qos.logback.core.spi.LifeCycle
public class EnclosedInSquareBracketsConverter
extends ch.qos.logback.core.pattern.CompositeConverter<ch.qos.logback.classic.spi.ILoggingEvent>
Logback
CompositeConverter
used to help format optional values that should be
shown enclosed in square brackets.- Since:
- 3.4.0
-
Field Summary
Fields inherited from class ch.qos.logback.core.pattern.DynamicConverter
started
-
Constructor Summary
-
Method Summary
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 Details
-
EnclosedInSquareBracketsConverter
public EnclosedInSquareBracketsConverter()
-
-
Method Details
-
transform
- Specified by:
transform
in classch.qos.logback.core.pattern.CompositeConverter<ch.qos.logback.classic.spi.ILoggingEvent>
-