wt.replication.sender
Class EMBSenderLog

java.lang.Object
  extended bywt.replication.sender.EMBSenderLog

public class EMBSenderLog
extends Object

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


Field Summary
private static String CLASSNAME
           
static PrintWriter embSenderLog
           
private static String logName
           
private static String RESOURCE
           
private static String rootPath
           
 
Constructor Summary
EMBSenderLog(String path, String logFileName)
           
 
Method Summary
 void closeLog()
           
 void onException(Throwable e, String msg)
           
 void openLog()
           
 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

rootPath

private static String rootPath

logName

private static String logName

embSenderLog

public static PrintWriter embSenderLog
Constructor Detail

EMBSenderLog

public EMBSenderLog(String path,
                    String logFileName)
Method Detail

onException

public void onException(Throwable e,
                        String msg)

openLog

public void openLog()
             throws WTException
Throws:
WTException

closeLog

public void closeLog()

writeLog

public void writeLog(String entry)