Package ch.qos.logback.core.pattern
Class PatternLayoutEncoderBase<E>
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.encoder.EncoderBase<E>
-
- ch.qos.logback.core.encoder.LayoutWrappingEncoder<E>
-
- ch.qos.logback.core.pattern.PatternLayoutEncoderBase<E>
-
- All Implemented Interfaces:
Encoder<E>
,ContextAware
,LifeCycle
- Direct Known Subclasses:
PatternLayoutEncoder
@Deprecated(since="2022-01-27") public class PatternLayoutEncoderBase<E> extends LayoutWrappingEncoder<E>
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description PatternLayoutEncoderBase()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getPattern()
Deprecated.boolean
isOutputPatternAsHeader()
Deprecated.boolean
isOutputPatternAsPresentationHeader()
Deprecated.void
setLayout(Layout<E> layout)
Deprecated.void
setOutputPatternAsHeader(boolean outputPatternAsHeader)
Deprecated.Print the pattern string as a header in log filesvoid
setOutputPatternAsPresentationHeader(boolean outputPatternAsHeader)
Deprecated.replaced bysetOutputPatternAsHeader(boolean)
void
setPattern(java.lang.String pattern)
Deprecated.-
Methods inherited from class ch.qos.logback.core.encoder.LayoutWrappingEncoder
encode, footerBytes, getCharset, getLayout, headerBytes, isStarted, setCharset, setImmediateFlush, setParent, start, stop
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
-
-
-
Method Detail
-
getPattern
public java.lang.String getPattern()
Deprecated.
-
setPattern
public void setPattern(java.lang.String pattern)
Deprecated.
-
isOutputPatternAsHeader
public boolean isOutputPatternAsHeader()
Deprecated.
-
setOutputPatternAsHeader
public void setOutputPatternAsHeader(boolean outputPatternAsHeader)
Deprecated.Print the pattern string as a header in log files- Parameters:
outputPatternAsHeader
-- Since:
- 1.0.3
-
isOutputPatternAsPresentationHeader
public boolean isOutputPatternAsPresentationHeader()
Deprecated.
-
setOutputPatternAsPresentationHeader
public void setOutputPatternAsPresentationHeader(boolean outputPatternAsHeader)
Deprecated.replaced bysetOutputPatternAsHeader(boolean)
-
setLayout
public void setLayout(Layout<E> layout)
Deprecated.- Overrides:
setLayout
in classLayoutWrappingEncoder<E>
-
-