public class LoggingFilterWriter
extends java.io.FilterWriter
FilterWriter which logs all sent XMPP messages on the given log level.| Constructor and Description |
|---|
LoggingFilterWriter(java.io.Writer wrapped,
java.util.logging.Logger logger,
java.util.logging.Level level) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(char[] cbuf) |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(java.lang.String str) |
void |
write(java.lang.String str,
int off,
int len) |
public LoggingFilterWriter(java.io.Writer wrapped,
java.util.logging.Logger logger,
java.util.logging.Level level)
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterWriterjava.io.IOExceptionpublic void write(char[] cbuf)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void write(java.lang.String str)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void write(java.lang.String str,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterWriterjava.io.IOException