public class LogOutputStream extends OutputStream
Modifier and Type | Field and Description |
---|---|
protected Level |
level |
protected Logger |
logger |
Constructor and Description |
---|
LogOutputStream(String facility)
Log to the specified facility at the default FINE level.
|
LogOutputStream(String facility,
Level level)
Log to the specified facility at the specified level.
|
Modifier and Type | Method and Description |
---|---|
protected void |
log(String msg)
Log the specified message.
|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush
public LogOutputStream(String facility)
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
protected void log(String msg)
Copyright © 2019. All rights reserved.