public class PatternLayoutEncoderBase<E> extends LayoutWrappingEncoder<E>
Constructor and Description |
---|
PatternLayoutEncoderBase() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPattern() |
boolean |
isOutputPatternAsHeader() |
boolean |
isOutputPatternAsPresentationHeader() |
void |
setLayout(Layout<E> layout) |
void |
setOutputPatternAsHeader(boolean outputPatternAsHeader)
Print the pattern string as a header in log files
|
void |
setOutputPatternAsPresentationHeader(boolean outputPatternAsHeader)
Deprecated.
replaced by
setOutputPatternAsHeader(boolean) |
void |
setPattern(java.lang.String pattern) |
encode, footerBytes, getCharset, getLayout, headerBytes, isStarted, setCharset, setImmediateFlush, setParent, start, stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
public java.lang.String getPattern()
public void setPattern(java.lang.String pattern)
public boolean isOutputPatternAsHeader()
public void setOutputPatternAsHeader(boolean outputPatternAsHeader)
outputPatternAsHeader
- public boolean isOutputPatternAsPresentationHeader()
public void setOutputPatternAsPresentationHeader(boolean outputPatternAsHeader)
setOutputPatternAsHeader(boolean)
public void setLayout(Layout<E> layout)
setLayout
in class LayoutWrappingEncoder<E>
Copyright © 2010 - 2020 Adobe. All Rights Reserved