Class LogAndDebug


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

      Fields 
      Modifier and Type Field Description
      static boolean debug  
    • Constructor Summary

      Constructors 
      Constructor Description
      LogAndDebug()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void err​(java.lang.String msg)  
      static java.lang.String htmlTabs()  
      static java.lang.String htmlTabs​(int nb)  
      static java.lang.String htmlTabsm()  
      static java.lang.String htmlTabsp()  
      static void log​(java.lang.String msg)  
      static void logm​(java.lang.String msg)
      decrements the tabs count and then prints a message on System.output
      static void logn​(java.lang.String msg)
      prints a message on System.output without "\n"
      static void logp​(java.lang.String msg)
      prints a message on System.output and then increments the tabs count
      void setBorder​(java.awt.Container container, java.lang.String title)  
      void showStack​(int depth)
      prints the methods calling stack up to a depth "depth"
      static java.lang.String tabs()  
      static java.lang.String tabs​(int nb)  
      static java.lang.String tabsm()  
      static java.lang.String tabsp()  
      static java.lang.String toText​(java.lang.Object _object)  
      static java.lang.String toTxt​(StatOnLongs stol)  
      static void trace()
      prints the calling method's name plus a message
      static void trace​(java.lang.String msg)
      prints the calling method's name plus a message
      static void tracem()  
      static void tracem​(java.lang.String msg)
      decrements the tabs count and then prints the calling method's name with a message.
      static void tracep()  
      static void tracep​(java.lang.String msg)
      increments the tabs count and then prints the calling method's name with a message.
      static void unimplemented()
      prints, on Sysytem.output, the calling method's name plus the message "*** Unimplemented Method \"
      static void unimplemented​(int depth)  
      static void unimplemented​(java.lang.String msg)  
      static void warning​(java.lang.String msg)  
      • Methods inherited from class java.lang.Object

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

      • debug

        public static boolean debug
    • Constructor Detail

      • LogAndDebug

        public LogAndDebug()
    • Method Detail

      • tabs

        public static java.lang.String tabs​(int nb)
      • tabs

        public static java.lang.String tabs()
      • tabsp

        public static java.lang.String tabsp()
      • tabsm

        public static java.lang.String tabsm()
      • err

        public static void err​(java.lang.String msg)
      • warning

        public static void warning​(java.lang.String msg)
      • log

        public static void log​(java.lang.String msg)
        Parameters:
        msg - : message to print on Sysytem.output
      • logn

        public static void logn​(java.lang.String msg)
        prints a message on System.output without "\n"
        Parameters:
        msg - : message to print on Sysytem.output
      • logp

        public static void logp​(java.lang.String msg)
        prints a message on System.output and then increments the tabs count
        Parameters:
        msg - : message to print on Sysytem.output
      • logm

        public static void logm​(java.lang.String msg)
        decrements the tabs count and then prints a message on System.output
        Parameters:
        msg - : message to print on Sysytem.output
      • tracep

        public static void tracep()
      • tracep

        public static void tracep​(java.lang.String msg)
        increments the tabs count and then prints the calling method's name with a message. Usually "(param1, param2)".
        Parameters:
        msg - : message to print on Sysytem.output
      • tracem

        public static void tracem()
      • tracem

        public static void tracem​(java.lang.String msg)
        decrements the tabs count and then prints the calling method's name with a message. Usually "(param1, param2) return: ".
        Parameters:
        msg - : message to print on Sysytem.output
      • trace

        public static void trace()
        prints the calling method's name plus a message
      • trace

        public static void trace​(java.lang.String msg)
        prints the calling method's name plus a message
        Parameters:
        msg - : message to print on Sysytem.output
      • showStack

        public void showStack​(int depth)
        prints the methods calling stack up to a depth "depth"
        Parameters:
        depth -
      • setBorder

        public void setBorder​(java.awt.Container container,
                              java.lang.String title)
      • toText

        public static java.lang.String toText​(java.lang.Object _object)
      • unimplemented

        public static void unimplemented()
        prints, on Sysytem.output, the calling method's name plus the message "*** Unimplemented Method \"
      • unimplemented

        public static void unimplemented​(int depth)
      • toTxt

        public static java.lang.String toTxt​(StatOnLongs stol)
      • unimplemented

        public static void unimplemented​(java.lang.String msg)
      • htmlTabs

        public static java.lang.String htmlTabs​(int nb)
      • htmlTabs

        public static java.lang.String htmlTabs()
      • htmlTabsp

        public static java.lang.String htmlTabsp()
      • htmlTabsm

        public static java.lang.String htmlTabsm()