Package ch.qos.logback.core.pattern
Class PatternLayoutBase<E>
- java.lang.Object
 - 
- ch.qos.logback.core.spi.ContextAwareBase
 - 
- ch.qos.logback.core.LayoutBase<E>
 - 
- ch.qos.logback.core.pattern.PatternLayoutBase<E>
 
 
 
 
- 
- All Implemented Interfaces:
 Layout<E>,ContextAware,LifeCycle
- Direct Known Subclasses:
 PatternLayout
@Deprecated(since="2022-01-27") public abstract class PatternLayoutBase<E> extends LayoutBase<E>
Deprecated. 
- 
- 
Constructor Summary
Constructors Constructor Description PatternLayoutBase()Deprecated. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract java.util.Map<java.lang.String,java.lang.String>getDefaultConverterMap()Deprecated.Concrete implementations of this class are responsible for elaborating the mapping between pattern words and converters.java.util.Map<java.lang.String,java.lang.String>getEffectiveConverterMap()Deprecated.Returns a map where the default converter map is merged with the map contained in the context.java.util.Map<java.lang.String,java.lang.String>getInstanceConverterMap()Deprecated.java.lang.StringgetPattern()Deprecated.java.lang.StringgetPresentationHeader()Deprecated.Return the header of the logging event formatting.booleanisOutputPatternAsHeader()Deprecated.voidsetOutputPatternAsHeader(boolean outputPatternAsHeader)Deprecated.voidsetPattern(java.lang.String pattern)Deprecated.voidsetPostCompileProcessor(PostCompileProcessor<E> postCompileProcessor)Deprecated.voidstart()Deprecated.java.lang.StringtoString()Deprecated.- 
Methods inherited from class ch.qos.logback.core.LayoutBase
getContentType, getContext, getFileFooter, getFileHeader, getPresentationFooter, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stop 
- 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getStatusManager 
- 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getDefaultConverterMap
public abstract java.util.Map<java.lang.String,java.lang.String> getDefaultConverterMap()
Deprecated.Concrete implementations of this class are responsible for elaborating the mapping between pattern words and converters.- Returns:
 - A map associating pattern words to the names of converter classes
 
 
- 
getEffectiveConverterMap
public java.util.Map<java.lang.String,java.lang.String> getEffectiveConverterMap()
Deprecated.Returns a map where the default converter map is merged with the map contained in the context. 
- 
start
public void start()
Deprecated.- Specified by:
 startin interfaceLifeCycle- Overrides:
 startin classLayoutBase<E>
 
- 
setPostCompileProcessor
public void setPostCompileProcessor(PostCompileProcessor<E> postCompileProcessor)
Deprecated. 
- 
getPattern
public java.lang.String getPattern()
Deprecated. 
- 
setPattern
public void setPattern(java.lang.String pattern)
Deprecated. 
- 
toString
public java.lang.String toString()
Deprecated.- Overrides:
 toStringin classjava.lang.Object
 
- 
getInstanceConverterMap
public java.util.Map<java.lang.String,java.lang.String> getInstanceConverterMap()
Deprecated. 
- 
isOutputPatternAsHeader
public boolean isOutputPatternAsHeader()
Deprecated. 
- 
setOutputPatternAsHeader
public void setOutputPatternAsHeader(boolean outputPatternAsHeader)
Deprecated. 
- 
getPresentationHeader
public java.lang.String getPresentationHeader()
Deprecated.Description copied from interface:LayoutReturn the header of the logging event formatting. The returned value may be null.- Specified by:
 getPresentationHeaderin interfaceLayout<E>- Overrides:
 getPresentationHeaderin classLayoutBase<E>- Returns:
 - The header.
 
 
 - 
 
 -