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.FilterOutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.FilterOutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterOutputStream
java.io.IOException
public void onChar(int c)
public void onLine(byte[] line, int length)
public void onLine(java.lang.String line)