public class PluginFilteredStreamingLogWriter extends FilterStreamingLogWriter
Modifier and Type | Method and Description |
---|---|
void |
addEvent(LogEvent orig)
Add a new event
|
void |
close()
Close the stream.
|
void |
openStream()
Open a stream, called before addEvent is called
|
getWriter
public void openStream() throws java.io.IOException
StreamingLogWriter
openStream
in interface StreamingLogWriter
openStream
in class FilterStreamingLogWriter
java.io.IOException
- if an io error occurspublic void addEvent(LogEvent orig)
StreamingLogWriter
addEvent
in interface LogEventReceiver
addEvent
in interface StreamingLogWriter
addEvent
in class FilterStreamingLogWriter
orig
- log eventpublic void close()
StreamingLogWriter
close
in interface StreamingLogWriter
close
in class FilterStreamingLogWriter