public class JBossLoggingOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
buf |
protected int |
count |
static int |
DEFAULT_BUFFER_LENGTH |
protected boolean |
hasBeenClosed |
protected org.jboss.logging.Logger.Level |
level |
protected org.jboss.logging.Logger |
logger |
| Constructor and Description |
|---|
JBossLoggingOutputStream(org.jboss.logging.Logger log,
org.jboss.logging.Logger.Level level) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(int b) |
write, writepublic static final int DEFAULT_BUFFER_LENGTH
protected boolean hasBeenClosed
protected byte[] buf
protected int count
protected org.jboss.logging.Logger logger
protected org.jboss.logging.Logger.Level level
public JBossLoggingOutputStream(org.jboss.logging.Logger log,
org.jboss.logging.Logger.Level level)
throws IllegalArgumentException
IllegalArgumentExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreampublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
flush in interface Flushableflush in class OutputStreamCopyright © 2008–2016 JBoss.org. All rights reserved.