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.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic void clearLoggedMessages()
protected void append(org.apache.log4j.spi.LoggingEvent loggingEvent)
append in class org.apache.log4j.AppenderSkeletonpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface org.apache.log4j.Appenderpublic boolean requiresLayout()
requiresLayout in interface org.apache.log4j.AppenderCopyright © 2021. All rights reserved.