wt.replication.unit
Class ReplicationLog

java.lang.Object
  extended bywt.replication.unit.ReplicationLog

public class ReplicationLog
extends Object

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


Field Summary
private static String CLASSNAME
           
static PrintWriter replicationLog
           
private static String RESOURCE
           
 
Constructor Summary
ReplicationLog()
           
 
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

replicationLog

public static PrintWriter replicationLog
Constructor Detail

ReplicationLog

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