hudson.plugins.jabber.im
Class LoggingFilterWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
hudson.plugins.jabber.im.LoggingFilterWriter
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
public class LoggingFilterWriter
- extends java.io.FilterWriter
A FilterWriter
which logs all sent XMPP messages on the given log level.
- Author:
- kutzi
Fields inherited from class java.io.FilterWriter |
out |
Fields inherited from class java.io.Writer |
lock |
Constructor Summary |
LoggingFilterWriter(java.io.Writer wrapped,
java.util.logging.Logger logger,
java.util.logging.Level level)
|
Method Summary |
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)
|
Methods inherited from class java.io.FilterWriter |
close, flush, write |
Methods inherited from class java.io.Writer |
append, append, append |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingFilterWriter
public LoggingFilterWriter(java.io.Writer wrapped,
java.util.logging.Logger logger,
java.util.logging.Level level)
write
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.FilterWriter
- Throws:
java.io.IOException
write
public void write(char[] cbuf)
throws java.io.IOException
- Overrides:
write
in class java.io.Writer
- Throws:
java.io.IOException
write
public void write(java.lang.String str)
throws java.io.IOException
- Overrides:
write
in class java.io.Writer
- Throws:
java.io.IOException
write
public void write(java.lang.String str,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.FilterWriter
- Throws:
java.io.IOException
Copyright © 2011. All Rights Reserved.