public class LoggingOutputStream
extends java.io.FilterOutputStream
| Modifier and Type | Class and Description |
|---|---|
static class |
LoggingOutputStream.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LoggingOutputStream.Builder |
builder() |
void |
close() |
void |
flush() |
void |
onChar(int c) |
void |
onLine(byte[] line,
int length) |
void |
onLine(java.lang.String line) |
void |
write(int b) |
public static LoggingOutputStream.Builder builder()
public void write(int b)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void onChar(int c)
public void onLine(byte[] line,
int length)
public void onLine(java.lang.String line)