org.openorb.pss.util

Class debug

public class debug extends Object

This class provides operation to write debug information.

Author: Jerome Daniel

Method Summary
static voiddebugMode(boolean debug)
Activate or desactivate the debug mode
static voidprint(String msg)
Print debug information
static voidprintException(Exception ex)
Print exception stack
static voidsetDebugFile(String fileName)
Set the debug file name

Method Detail

debugMode

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

print

public static void print(String msg)
Print debug information

printException

public static void printException(Exception ex)
Print exception stack

setDebugFile

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