Package com.dtolabs.rundeck.core.logging
Interface StreamingLogWriter
-
- All Superinterfaces:
LogEventReceiver
- All Known Subinterfaces:
StreamingLogWriterPlugin
- All Known Implementing Classes:
FilterStreamingLogWriter
,OverridableStreamingLogWriter
,PluginFilteredStreamingLogWriter
public interface StreamingLogWriter extends LogEventReceiver
writes log entries in a streaming manner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addEvent(LogEvent event)
Add a new eventvoid
close()
Close the stream.void
openStream()
Open a stream, called before addEvent is called
-
-
-
Method Detail
-
openStream
void openStream() throws java.io.IOException
Open a stream, called before addEvent is called- Throws:
java.io.IOException
- if an io error occurs
-
addEvent
void addEvent(LogEvent event)
Add a new event- Specified by:
addEvent
in interfaceLogEventReceiver
- Parameters:
event
- log event
-
close
void close()
Close the stream.
-
-