Package jpicedt
Class Log
- java.lang.Object
-
- jpicedt.Log
-
public class Log extends java.lang.ObjectUtility 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 booleanDEBUG
-
Constructor Summary
Constructors Constructor Description Log()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddebug()Usage : if (Log.DEBUG) Log.debug();
This will automatically print the calling class and method name using new JDK1.4 features.static voiddebug(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 voiddebugAppend(java.lang.String msg)use it like this : if (Log.DEBUG) Log.debugAppend(this,"bla bla"); *static voiddebugAppendLn(java.lang.String msg)Usage : if (Log.DEBUG) Log.debugAppendLn("bla bla");static voiderror(java.lang.String msg)static voidwarning(java.lang.String msg)
-
-
-
Field Detail
-
DEBUG
public static final boolean DEBUG
- See Also:
- Constant Field Values
-
-
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)
-
-