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 Writer
IOException
public void write(char[] cbuf, int off, int len) throws IOException
write
in class Writer
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class Writer
IOException
protected abstract Logger getLogger()
protected abstract Level getLevel()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
Copyright © 2013 JBoss, a division of Red Hat, Inc.