public class InMemoryAppender extends org.apache.log4j.AppenderSkeleton implements Closeable, groovy.lang.GroovyObject
Constructor and Description |
---|
InMemoryAppender() |
Modifier and Type | Method and Description |
---|---|
protected void |
append(org.apache.log4j.spi.LoggingEvent loggingEvent) |
void |
clearLoggedMessages() |
void |
close() |
List<String> |
getLoggingEvents() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
boolean |
requiresLayout() |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public void clearLoggedMessages()
protected void append(org.apache.log4j.spi.LoggingEvent loggingEvent)
append
in class org.apache.log4j.AppenderSkeleton
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.log4j.Appender
public boolean requiresLayout()
requiresLayout
in interface org.apache.log4j.Appender
Copyright © 2022. All rights reserved.