java.lang.Object
ch.qos.logback.core.net.ObjectWriterFactory
Factory for
ObjectWriter
instances.- Author:
- Sebastian Gröbler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnewAutoFlushingObjectWriter
(OutputStream outputStream) Creates a newAutoFlushingObjectWriter
instance.
-
Constructor Details
-
ObjectWriterFactory
public ObjectWriterFactory()
-
-
Method Details
-
newAutoFlushingObjectWriter
public AutoFlushingObjectWriter newAutoFlushingObjectWriter(OutputStream outputStream) throws IOException Creates a newAutoFlushingObjectWriter
instance.- Parameters:
outputStream
- the underlyingOutputStream
to write to- Returns:
- a new
AutoFlushingObjectWriter
instance - Throws:
IOException
- if an I/O error occurs while writing stream header
-