org.apache.log4j.varia
public class NullAppender extends AppenderSkeleton
| Constructor Summary | |
|---|---|
| NullAppender() | |
| Method Summary | |
|---|---|
| void | activateOptions()
There are no options to acticate.
|
| protected void | append(LoggingEvent event)
Does not do anything.
|
| void | close() |
| void | doAppend(LoggingEvent event)
Does not do anything.
|
| NullAppender | getInstance()
Whenever you can, use this method to retreive an instance instead
of instantiating a new one with new.
|
| boolean | requiresLayout()
NullAppenders do not need a layout.
|
new.