ch.qos.logback.core.testUtil
Class StringListAppender<E>

java.lang.Object
  extended by ch.qos.logback.core.spi.ContextAwareBase
      extended by ch.qos.logback.core.AppenderBase<E>
          extended by ch.qos.logback.core.testUtil.StringListAppender<E>
All Implemented Interfaces:
Appender<E>, ContextAware, FilterAttachable<E>, LifeCycle

public class StringListAppender<E>
extends AppenderBase<E>


Field Summary
 List<String> strList
           
 
Fields inherited from class ch.qos.logback.core.AppenderBase
name, started
 
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
 
Constructor Summary
StringListAppender()
           
 
Method Summary
protected  void append(E eventObject)
           
 Layout<E> getLayout()
           
 void setLayout(Layout<E> layout)
           
 void start()
           
 void stop()
           
 
Methods inherited from class ch.qos.logback.core.AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getFirstFilter, getName, isStarted, setName, toString
 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, 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
 

Field Detail

strList

public List<String> strList
Constructor Detail

StringListAppender

public StringListAppender()
Method Detail

start

public void start()
Specified by:
start in interface LifeCycle
Overrides:
start in class AppenderBase<E>

stop

public void stop()
Specified by:
stop in interface LifeCycle
Overrides:
stop in class AppenderBase<E>

append

protected void append(E eventObject)
Specified by:
append in class AppenderBase<E>

getLayout

public Layout<E> getLayout()
Specified by:
getLayout in interface Appender<E>
Overrides:
getLayout in class AppenderBase<E>

setLayout

public void setLayout(Layout<E> layout)
Specified by:
setLayout in interface Appender<E>
Overrides:
setLayout in class AppenderBase<E>


Copyright © 2005-2009 QOS.ch. All Rights Reserved.