- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.AppenderBase<ILoggingEvent>
-
- ch.qos.logback.classic.helpers.WithLayoutListAppender
-
- All Implemented Interfaces:
Appender<ILoggingEvent>,ContextAware,FilterAttachable<ILoggingEvent>,LifeCycle
public class WithLayoutListAppender extends AppenderBase<ILoggingEvent>
An appender used for testing.- Since:
- 1.3.0
- Author:
- ceki
-
-
Field Summary
Fields Modifier and Type Field Description List<String>list-
Fields inherited from class ch.qos.logback.core.AppenderBase
name, started
-
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
-
Constructor Summary
Constructors Constructor Description WithLayoutListAppender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappend(ILoggingEvent e)StringgetPattern()voidsetPattern(String pattern)voidstart()-
Methods inherited from class ch.qos.logback.core.AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, stop, toString
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
-
-
-
Constructor Detail
-
WithLayoutListAppender
public WithLayoutListAppender()
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceLifeCycle- Overrides:
startin classAppenderBase<ILoggingEvent>
-
append
protected void append(ILoggingEvent e)
- Specified by:
appendin classAppenderBase<ILoggingEvent>
-
getPattern
public String getPattern()
-
setPattern
public void setPattern(String pattern)
-
-