Class Debug


  • public class Debug
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ID  
      static int INFORM  
      static org.slf4j.Logger logger  
      static int OBNOXIOUS  
      static java.lang.String PROP_LEVEL  
      static int VERBOSE  
      static int WARN  
    • Constructor Summary

      Constructors 
      Constructor Description
      Debug()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String dump​(byte[] b)  
      void init​(IConfigStore config)
      Debug subsystem initialization.
      static void setLevel​(int level)
      Set the current debugging level.
      • Methods inherited from class java.lang.Object

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

      • Debug

        public Debug()
    • Method Detail

      • dump

        public static java.lang.String dump​(byte[] b)
      • setLevel

        public static void setLevel​(int level)
        Set the current debugging level. You can use:
         OBNOXIOUS = 1
         VERBOSE   = 5
         INFORM    = 10
         
        Or another value
      • init

        public void init​(IConfigStore config)
                  throws java.lang.Exception
        Debug subsystem initialization. This subsystem is usually given the following parameters:
        Throws:
        java.lang.Exception