public class VectorAppender extends AppenderSkeleton
Modifier and Type | Field and Description |
---|---|
Vector |
vector |
closed, errorHandler, headFilter, layout, name, tailFilter, threshold
Constructor and Description |
---|
VectorAppender() |
Modifier and Type | Method and Description |
---|---|
void |
append(LoggingEvent event) |
void |
close() |
long |
getDelay()
Returns a delay to log.
|
Vector |
getVector()
Returns a vector of
LoggingEvent . |
boolean |
isClosed() |
boolean |
requiresLayout() |
void |
setDelay(long delay)
Sets a delay to log.
|
activateOptions, addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold
public Vector vector
public void append(LoggingEvent event)
append
in class AppenderSkeleton
public Vector getVector()
LoggingEvent
.LoggingEvent
.public void close()
public boolean isClosed()
public boolean requiresLayout()
public long getDelay()
public void setDelay(long delay)
delay
- delay to logCopyright © 2002-2017 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.