Package jpicedt

Class Log


  • public class Log
    extends java.lang.Object
    Utility class for printing out debugging messages.
    Since:
    jpicedt 1.3
    Version:
    $Id: Log.java,v 1.19.2.1 2007/09/02 11:55:59 reynal Exp $
    Author:
    Sylvain Reynal
    • Field Summary

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

      Constructors 
      Constructor Description
      Log()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void debug()
      Usage : if (Log.DEBUG) Log.debug();
      This will automatically print the calling class and method name using new JDK1.4 features.
      static void debug​(java.lang.String msg)
      Usage : if (Log.DEBUG) Log.debug("message");
      This will automatically print the calling class and method name using new JDK1.4 features.
      static void debugAppend​(java.lang.String msg)
      use it like this : if (Log.DEBUG) Log.debugAppend(this,"bla bla"); *
      static void debugAppendLn​(java.lang.String msg)
      Usage : if (Log.DEBUG) Log.debugAppendLn("bla bla");
      static void error​(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
    • Constructor Detail

      • Log

        public Log()
    • Method Detail

      • debug

        public static void debug()
        Usage : if (Log.DEBUG) Log.debug();
        This will automatically print the calling class and method name using new JDK1.4 features.
      • debug

        public static void debug​(java.lang.String msg)
        Usage : if (Log.DEBUG) Log.debug("message");
        This will automatically print the calling class and method name using new JDK1.4 features.
      • debugAppendLn

        public static void debugAppendLn​(java.lang.String msg)
        Usage : if (Log.DEBUG) Log.debugAppendLn("bla bla");
      • debugAppend

        public static void debugAppend​(java.lang.String msg)
        use it like this : if (Log.DEBUG) Log.debugAppend(this,"bla bla"); *
      • error

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

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