Class SLF4JSmackDebugger
- java.lang.Object
-
- org.jivesoftware.smack.debugger.SmackDebugger
-
- org.jivesoftware.smackx.debugger.slf4j.SLF4JSmackDebugger
-
public class SLF4JSmackDebugger extends org.jivesoftware.smack.debugger.SmackDebuggerImplementation 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.StringLOGGER_NAMEstatic java.util.concurrent.atomic.AtomicBooleanprintInterpretedstatic java.lang.StringRECEIVED_TAGstatic java.lang.StringSENT_TAG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidenable()Makes Smack use this Debugger.voidincomingStreamSink(java.lang.CharSequence incomingCharSequence)voidonIncomingStreamElement(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)voidonOutgoingStreamElement(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)voidoutgoingStreamSink(java.lang.CharSequence outgoingCharSequence)voiduserHasLogged(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:
outgoingStreamSinkin classorg.jivesoftware.smack.debugger.SmackDebugger
-
incomingStreamSink
public void incomingStreamSink(java.lang.CharSequence incomingCharSequence)
- Specified by:
incomingStreamSinkin classorg.jivesoftware.smack.debugger.SmackDebugger
-
userHasLogged
public void userHasLogged(org.jxmpp.jid.EntityFullJid user)
- Specified by:
userHasLoggedin classorg.jivesoftware.smack.debugger.SmackDebugger
-
onIncomingStreamElement
public void onIncomingStreamElement(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)
- Specified by:
onIncomingStreamElementin classorg.jivesoftware.smack.debugger.SmackDebugger
-
onOutgoingStreamElement
public void onOutgoingStreamElement(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)
- Specified by:
onOutgoingStreamElementin classorg.jivesoftware.smack.debugger.SmackDebugger
-
-