public abstract class AbstractLoggingWriter extends Writer
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLoggingWriter()
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
protected abstract Level |
getLevel()
Get the level at which to log.
|
protected abstract Logger |
getLogger()
Get the logger to use.
|
void |
write(char[] cbuf,
int off,
int len) |
void |
write(int c) |
protected AbstractLoggingWriter()
public void write(int c)
throws IOException
write in class WriterIOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionprotected abstract Logger getLogger()
protected abstract Level getLevel()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionCopyright © 2019 JBoss, a division of Red Hat, Inc.