public class LogOutputStream
extends java.io.OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected java.util.logging.Level |
level |
protected MailLogger |
logger |
| Constructor and Description |
|---|
LogOutputStream(MailLogger logger)
Log to the specified logger.
|
protected MailLogger logger
protected java.util.logging.Level level
public LogOutputStream(MailLogger logger)
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionprotected void log(java.lang.String msg)
Copyright © 2013 Oracle. All Rights Reserved.