Class SingleLinePatternLayout
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.LayoutBase<E>
-
- ch.qos.logback.core.pattern.PatternLayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>
-
- ch.qos.logback.classic.PatternLayout
-
- com.devonfw.module.logging.common.impl.SingleLinePatternLayout
-
- All Implemented Interfaces:
ch.qos.logback.core.Layout<ch.qos.logback.classic.spi.ILoggingEvent>,ch.qos.logback.core.spi.ContextAware,ch.qos.logback.core.spi.LifeCycle
public class SingleLinePatternLayout extends ch.qos.logback.classic.PatternLayoutCustomPatternLayoutfor logging entries.
-
-
Constructor Summary
Constructors Constructor Description SingleLinePatternLayout()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdoLayout(ch.qos.logback.classic.spi.ILoggingEvent event)Creates formatted String, using conversion pattern.-
Methods inherited from class ch.qos.logback.classic.PatternLayout
getDefaultConverterMap, getPresentationHeaderPrefix
-
Methods inherited from class ch.qos.logback.core.pattern.PatternLayoutBase
getEffectiveConverterMap, getInstanceConverterMap, getPattern, getPresentationHeader, isOutputPatternAsHeader, setContextForConverters, setOutputPatternAsHeader, setPattern, setPostCompileProcessor, start, toString, writeLoopOnConverters
-
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, getDeclaredOrigin, getStatusManager
-
-
-
-
Method Detail
-
doLayout
public String doLayout(ch.qos.logback.classic.spi.ILoggingEvent event)
Creates formatted String, using conversion pattern.- Specified by:
doLayoutin interfacech.qos.logback.core.Layout<ch.qos.logback.classic.spi.ILoggingEvent>- Overrides:
doLayoutin classch.qos.logback.classic.PatternLayout- Parameters:
event- ILoggingEvent- Returns:
- String Formatted event as string in one line
-
-