hudson.plugins.jabber.im
Class LoggingFilterWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
hudson.plugins.jabber.im.LoggingFilterWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class LoggingFilterWriter
- extends FilterWriter
A FilterWriter
which logs all sent XMPP messages on the given log level.
- Author:
- kutzi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingFilterWriter
public LoggingFilterWriter(Writer wrapped,
Logger logger,
Level level)
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterWriter
- Throws:
IOException
write
public void write(char[] cbuf)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException
write
public void write(String str)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException
write
public void write(String str,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterWriter
- Throws:
IOException
Copyright © 2004-2012. All Rights Reserved.