public class LogOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected Level |
level |
protected MailLogger |
logger |
| Constructor and Description |
|---|
LogOutputStream(MailLogger logger)
Log to the specified logger.
|
protected MailLogger logger
protected Level level
public LogOutputStream(MailLogger logger)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionprotected void log(String msg)
Copyright © 2014 Oracle. All Rights Reserved.