wt.fv.master
Class MasterLog

java.lang.Object
  extended bywt.fv.master.MasterLog

public class MasterLog
extends Object

Helper class implements static methods to log messages in Wt.Fv Package.


Field Summary
private static String CLASSNAME
           
static PrintWriter masterLog
           
 
Constructor Summary
MasterLog()
           
 
Method Summary
static void closeLog()
           
static boolean isLogingEnabled()
           
static void logException(Exception e)
           
static void onException(Throwable e, String msg)
           
static void onImportantException(Throwable e, String msg)
           
static void openLog()
           
static void writeLog(String entry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

private static final String CLASSNAME

masterLog

public static PrintWriter masterLog
Constructor Detail

MasterLog

public MasterLog()
Method Detail

onException

public static void onException(Throwable e,
                               String msg)

onImportantException

public static void onImportantException(Throwable e,
                                        String msg)

openLog

public static void openLog()
                    throws WTException
Throws:
WTException

closeLog

public static void closeLog()
                     throws WTException
Throws:
WTException

writeLog

public static void writeLog(String entry)

logException

public static void logException(Exception e)

isLogingEnabled

public static boolean isLogingEnabled()