public interface StreamingLogWriter
Modifier and Type | Method and Description |
---|---|
void |
addEvent(LogEvent event)
Add a new event
|
void |
close()
Close the stream.
|
void |
openStream()
Open a stream, called before addEvent is called
|
void openStream() throws java.io.IOException
java.io.IOException
- if an io error occursvoid addEvent(LogEvent event)
event
- log eventvoid close()