Module ch.qos.logback.core
Class ConverterSupplierByClassName
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.pattern.color.ConverterSupplierByClassName
-
- All Implemented Interfaces:
ContextAware,Supplier<DynamicConverter>
public class ConverterSupplierByClassName extends ContextAwareBase implements Supplier<DynamicConverter>
Implements the
Supplierinterface in order to cater for legacy code using the class name of a converter.Should not be used in non-legacy code.
-
-
Field Summary
-
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
-
Constructor Summary
Constructors Constructor Description ConverterSupplierByClassName(String conversionWord, String converterClassStr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicConverterget()-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
-
-
-
Constructor Detail
-
ConverterSupplierByClassName
public ConverterSupplierByClassName(String conversionWord, String converterClassStr)
-
-
Method Detail
-
get
public DynamicConverter get()
- Specified by:
getin interfaceSupplier<DynamicConverter>
-
-