ch.qos.logback.classic.sift
Class GSiftingAppender
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.AppenderBase
ch.qos.logback.classic.sift.GSiftingAppender
- All Implemented Interfaces:
- ConfigurationContributor, Appender, ContextAware, FilterAttachable, LifeCycle, groovy.lang.GroovyObject
public class GSiftingAppender
- extends AppenderBase
- implements groovy.lang.GroovyObject, ConfigurationContributor
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
appenderTracker
protected AppenderTracker appenderTracker
GSiftingAppender
public GSiftingAppender()
getDiscriminator
public Discriminator getDiscriminator()
setDiscriminator
public void setDiscriminator(Discriminator value)
getBuilderClosure
public groovy.lang.Closure getBuilderClosure()
setBuilderClosure
public void setBuilderClosure(groovy.lang.Closure value)
getNopaWarningCount
public int getNopaWarningCount()
setNopaWarningCount
public void setNopaWarningCount(int value)
getMappings
public Map getMappings()
- Description copied from interface:
ConfigurationContributor
- The list of method mapping from the contributor into the configuration mechanism,
e.g. the ConfiguratorDelegate
The key in the map is the method being contributed and the value is the name of
the method in the target class.
- Specified by:
getMappings
in interface ConfigurationContributor
- Returns:
start
public void start()
- Specified by:
start
in interface LifeCycle
- Overrides:
start
in class AppenderBase
stop
public void stop()
- Specified by:
stop
in interface LifeCycle
- Overrides:
stop
in class AppenderBase
getTimestamp
protected long getTimestamp(ILoggingEvent event)
buildAppender
public Appender buildAppender(String value)
append
public void append(Object object)
- Specified by:
append
in class AppenderBase
buildNOPAppender
public NOPAppender buildNOPAppender(String discriminatingValue)
build
public void build()
sift
public void sift(groovy.lang.Closure clo)
getAppenderTracker
public AppenderTracker getAppenderTracker()
getDiscriminatorKey
public String getDiscriminatorKey()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String name)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
Copyright © 2005-2011 QOS.ch. All Rights Reserved.