kactoos-jvm / nnl.rocks.kactoos.io / LoggingOutputStream
class LoggingOutputStream :
OutputStream
Logged output stream.
There is no thread-safety guarantee.
origin
- Destination of data
destination
- The name of source data
logger
- Message logger
Since 0.3
Name | Summary |
---|---|
<init> | LoggingOutputStream(origin: OutputStream , destination: String , logger: Logger = Logger.getLogger(destination)) Logged output stream. |
Name | Summary |
---|---|
close | fun close(): Unit |
flush | fun flush(): Unit |
write | fun write(data: Int ): Unit fun write(buf: ByteArray ): Unit fun write(buf: ByteArray , offset: Int , len: Int ): Unit |