wt.replication.imp
Class ImportLog

java.lang.Object
  extended bywt.replication.imp.ImportLog

public class ImportLog
extends Object

Helper class implements static methods to log messages in wt.replication.imp Package.


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

importLog

public static PrintWriter importLog
Constructor Detail

ImportLog

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

isLogingEnabled

public static boolean isLogingEnabled()