Class SLF4JSmackDebugger
- java.lang.Object
-
- org.jivesoftware.smack.debugger.SmackDebugger
-
- org.jivesoftware.smackx.debugger.slf4j.SLF4JSmackDebugger
-
public class SLF4JSmackDebugger extends org.jivesoftware.smack.debugger.SmackDebugger
Implementation of SmackDebugger that writes log messages using SLF4J API. Use in conjunction with your SLF4J bindings of choice. See SLF4J manual for more details about bindings usage.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LOGGER_NAME
static java.util.concurrent.atomic.AtomicBoolean
printInterpreted
static java.lang.String
RECEIVED_TAG
static java.lang.String
SENT_TAG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
enable()
Makes Smack use this Debugger.void
incomingStreamSink(java.lang.CharSequence incomingCharSequence)
void
onIncomingStreamElement(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)
void
onOutgoingStreamElement(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)
void
outgoingStreamSink(java.lang.CharSequence outgoingCharSequence)
void
userHasLogged(org.jxmpp.jid.EntityFullJid user)
-
-
-
Field Detail
-
LOGGER_NAME
public static final java.lang.String LOGGER_NAME
- See Also:
- Constant Field Values
-
printInterpreted
public static final java.util.concurrent.atomic.AtomicBoolean printInterpreted
-
SENT_TAG
public static final java.lang.String SENT_TAG
- See Also:
- Constant Field Values
-
RECEIVED_TAG
public static final java.lang.String RECEIVED_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
enable
public static void enable()
Makes Smack use this Debugger.
-
outgoingStreamSink
public void outgoingStreamSink(java.lang.CharSequence outgoingCharSequence)
- Specified by:
outgoingStreamSink
in classorg.jivesoftware.smack.debugger.SmackDebugger
-
incomingStreamSink
public void incomingStreamSink(java.lang.CharSequence incomingCharSequence)
- Specified by:
incomingStreamSink
in classorg.jivesoftware.smack.debugger.SmackDebugger
-
userHasLogged
public void userHasLogged(org.jxmpp.jid.EntityFullJid user)
- Specified by:
userHasLogged
in classorg.jivesoftware.smack.debugger.SmackDebugger
-
onIncomingStreamElement
public void onIncomingStreamElement(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)
- Specified by:
onIncomingStreamElement
in classorg.jivesoftware.smack.debugger.SmackDebugger
-
onOutgoingStreamElement
public void onOutgoingStreamElement(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)
- Specified by:
onOutgoingStreamElement
in classorg.jivesoftware.smack.debugger.SmackDebugger
-
-