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, write
public 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
IllegalArgumentException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void flush()
flush
in interface Flushable
flush
in class OutputStream
Copyright © 2008–2016 JBoss.org. All rights reserved.