Class 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  
      • Fields inherited from class org.jivesoftware.smack.debugger.SmackDebugger

        connection
    • 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)  
      • Methods inherited from class org.jivesoftware.smack.debugger.SmackDebugger

        newConnectionReader, newConnectionWriter, onIncomingElementCompleted, onOutgoingElementCompleted
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • printInterpreted

        public static final java.util.concurrent.atomic.AtomicBoolean printInterpreted
    • Method Detail

      • enable

        public static void enable()
        Makes Smack use this Debugger.
      • outgoingStreamSink

        public void outgoingStreamSink​(java.lang.CharSequence outgoingCharSequence)
        Specified by:
        outgoingStreamSink in class org.jivesoftware.smack.debugger.SmackDebugger
      • incomingStreamSink

        public void incomingStreamSink​(java.lang.CharSequence incomingCharSequence)
        Specified by:
        incomingStreamSink in class org.jivesoftware.smack.debugger.SmackDebugger
      • userHasLogged

        public void userHasLogged​(org.jxmpp.jid.EntityFullJid user)
        Specified by:
        userHasLogged in class org.jivesoftware.smack.debugger.SmackDebugger
      • onIncomingStreamElement

        public void onIncomingStreamElement​(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)
        Specified by:
        onIncomingStreamElement in class org.jivesoftware.smack.debugger.SmackDebugger
      • onOutgoingStreamElement

        public void onOutgoingStreamElement​(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)
        Specified by:
        onOutgoingStreamElement in class org.jivesoftware.smack.debugger.SmackDebugger