org.wcb.common
Class EventLogger

java.lang.Object
  extended byorg.wcb.common.EventLogger

public class EventLogger
extends java.lang.Object

This writes a log file named x10 and logs commands sent to the x10 interface. If there are system failures or other problems they should show up here. $Log: EventLogger.java,v $ Revision 1.3 2004/07/22 03:17:55 wbogaardt removed deprecated methods Revision 1.2 2003/10/10 22:50:44 wbogaardt removed error messages and cleaned up format


Field Summary
static java.lang.String DEFAULTFILENAME
           
static java.lang.String FILEHEADER
           
 
Constructor Summary
EventLogger()
           
EventLogger(java.lang.String fileName)
           
EventLogger(java.lang.String dirName, java.lang.String fileName)
           
 
Method Summary
 java.lang.String getFileName()
           
 void makeLogFile(java.lang.String logInfo)
           
 java.lang.StringBuffer readLog(java.lang.String theFile)
           
static void writeLog(java.lang.String logInfo, java.lang.String logFilename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULTFILENAME

public static final java.lang.String DEFAULTFILENAME
See Also:
Constant Field Values

FILEHEADER

public static final java.lang.String FILEHEADER
See Also:
Constant Field Values
Constructor Detail

EventLogger

public EventLogger()

EventLogger

public EventLogger(java.lang.String fileName)

EventLogger

public EventLogger(java.lang.String dirName,
                   java.lang.String fileName)
Method Detail

getFileName

public java.lang.String getFileName()

writeLog

public static void writeLog(java.lang.String logInfo,
                            java.lang.String logFilename)

readLog

public java.lang.StringBuffer readLog(java.lang.String theFile)

makeLogFile

public void makeLogFile(java.lang.String logInfo)


Copyright © 1999-2004 Walter Bogaardt. All Rights Reserved.