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
connection
Constructor and Description |
---|
JulDebugger(XMPPConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
log(String logMessage) |
protected void |
log(String logMessage,
Throwable throwable) |
newConnectionReader, newConnectionWriter, onIncomingStreamElement, onOutgoingStreamElement, userHasLogged
public JulDebugger(XMPPConnection connection)
protected void log(String logMessage)
log
in class AbstractDebugger
protected void log(String logMessage, Throwable throwable)
log
in class AbstractDebugger