public class CsvLayout
extends ch.qos.logback.core.LayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>
| Constructor and Description |
|---|
CsvLayout() |
| Modifier and Type | Method and Description |
|---|---|
String |
doLayout(ch.qos.logback.classic.spi.ILoggingEvent event)
Output log events in CSV format for the JndiModifications class
WARN : We only write the first value of each attribute because we write in a 2 dimensional format
|
String |
getHeader() |
void |
setAttrs(String attrs) |
void |
setLogOperations(LscModificationType[] logOperations) |
void |
setLogOperations(String logOperations) |
void |
setOutputHeader(Boolean outputHeader) |
void |
setSeparator(String separator) |
void |
setTaskNames(String taskNames) |
void |
setTaskNames(String[] taskNames) |
void |
start()
Parse logOpertaions string for backward compatibility to configuration old style
|
getContentType, getContext, getFileFooter, getFileHeader, getPresentationFooter, getPresentationHeader, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getStatusManagerpublic String doLayout(ch.qos.logback.classic.spi.ILoggingEvent event)
event - ILoggingEvent object representing an event to logpublic String getHeader()
public void start()
start in interface ch.qos.logback.core.spi.LifeCyclestart in class ch.qos.logback.core.LayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>public void setLogOperations(LscModificationType[] logOperations)
logOperations - the logOperation to setpublic void setLogOperations(String logOperations)
logOperations - the logOperation to setpublic void setAttrs(String attrs)
attrs - the attrs to setpublic void setSeparator(String separator)
separator - the separator to setpublic void setTaskNames(String taskNames)
taskNames - the taskNames to setpublic void setTaskNames(String[] taskNames)
taskNames - the taskNames to setpublic void setOutputHeader(Boolean outputHeader)
outputHeader - the outputHeader to setCopyright © 2005-2025 LSC project. All Rights Reserved.