public class LdifLayout
extends ch.qos.logback.classic.PatternLayout
Constructor and Description |
---|
LdifLayout() |
Modifier and Type | Method and Description |
---|---|
String |
doLayout(ch.qos.logback.classic.spi.ILoggingEvent le)
Format the logging event.
|
static String |
format(LscModifications lm) |
static void |
printAttributeToStringBuffer(StringBuilder sb,
String attrName,
List<Object> values) |
void |
setLogOperations(LscModificationType[] lscModificationTypes) |
void |
setLogOperations(String logOperations) |
void |
setOnlyLdif(boolean onlyLdif) |
void |
start()
Parse logOpertaions string for backward compatibility to configuration old style
|
static String |
toBase64(byte[] value) |
static String |
toBase64(String value) |
getEffectiveConverterMap, getInstanceConverterMap, getPattern, getPresentationHeader, isOutputPatternAsHeader, setOutputPatternAsHeader, setPattern, setPostCompileProcessor, toString
getContentType, getContext, getFileFooter, getFileHeader, getPresentationFooter, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getStatusManager
public final String doLayout(ch.qos.logback.classic.spi.ILoggingEvent le)
doLayout
in interface ch.qos.logback.core.Layout<ch.qos.logback.classic.spi.ILoggingEvent>
doLayout
in class ch.qos.logback.classic.PatternLayout
le
- the logging event to formatpublic static String format(LscModifications lm)
public static void printAttributeToStringBuffer(StringBuilder sb, String attrName, List<Object> values) throws NamingException
NamingException
public static String toBase64(byte[] value)
public void start()
start
in interface ch.qos.logback.core.spi.LifeCycle
start
in class ch.qos.logback.core.pattern.PatternLayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>
public void setOnlyLdif(boolean onlyLdif)
onlyLdif
- the onlyLdif to setpublic void setLogOperations(LscModificationType[] lscModificationTypes)
public void setLogOperations(String logOperations)
Copyright © 2005-2024 LSC project. All Rights Reserved.