wt.scheduler
Class SchedulerLog

java.lang.Object
  extended bywt.scheduler.SchedulerLog

public class SchedulerLog
extends Object

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


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
static PrintWriter schedulerLog
           
 
Constructor Summary
SchedulerLog()
           
 
Method Summary
static void closeLog()
           
static boolean isLogingEnabled()
           
static void logMsg(String msg)
           
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

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

schedulerLog

public static PrintWriter schedulerLog
Constructor Detail

SchedulerLog

public SchedulerLog()
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)

logMsg

public static void logMsg(String msg)

isLogingEnabled

public static boolean isLogingEnabled()