public class LoggingOutputStream
extends java.io.OutputStream
| Constructor and Description |
|---|
LoggingOutputStream(org.slf4j.Logger logger,
boolean error) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertNotClosed() |
void |
close() |
void |
write(byte[] bytes,
int off,
int len) |
void |
write(int b) |
public LoggingOutputStream(@Nonnull
org.slf4j.Logger logger,
boolean error)
protected void assertNotClosed()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic void write(@Nonnull
byte[] bytes,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException