org.openorb.pss.util
Class debug

java.lang.Object
  |
  +--org.openorb.pss.util.debug

public class debug
extends java.lang.Object

This class provides operation to write debug information.

Author:
Jerome Daniel

Constructor Summary
debug()
           
 
Method Summary
static void debugMode(boolean debug)
          Activate or desactivate the debug mode
static void print(java.lang.String msg)
          Print debug information
static void printException(java.lang.Exception ex)
          Print exception stack
static void setDebugFile(java.lang.String fileName)
          Set the debug file name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

debug

public debug()
Method Detail

setDebugFile

public static void setDebugFile(java.lang.String fileName)
Set the debug file name

debugMode

public static void debugMode(boolean debug)
Activate or desactivate the debug mode

print

public static void print(java.lang.String msg)
Print debug information

printException

public static void printException(java.lang.Exception ex)
Print exception stack