public class JulDebugger extends AbstractDebugger
It is possible to not only print the raw sent and received stanzas but also the interpreted packets by Smack. By default interpreted packets won't be printed. To enable this feature just change the printInterpreted static variable to true.
printInterpreted
Constructor and Description |
---|
JulDebugger(XMPPConnection connection,
java.io.Writer writer,
java.io.Reader reader) |
Modifier and Type | Method and Description |
---|---|
protected void |
log(java.lang.String logMessage) |
protected void |
log(java.lang.String logMessage,
java.lang.Throwable throwable) |
getReader, getReaderListener, getWriter, getWriterListener, newConnectionReader, newConnectionWriter, userHasLogged
public JulDebugger(XMPPConnection connection, java.io.Writer writer, java.io.Reader reader)
protected void log(java.lang.String logMessage)
log
in class AbstractDebugger
protected void log(java.lang.String logMessage, java.lang.Throwable throwable)
log
in class AbstractDebugger