swpchat.util
Class DiagLog

java.lang.Object
  |
  +--swpchat.util.DiagLog

public class DiagLog
extends java.lang.Object

Class uses Properties to store, save and load debuglevels to certain keys .

Since:
17.01.2000
Author:
Stefan Schiffer, Claus Richterich

Field Summary
private static java.util.GregorianCalendar gregorianCalendar
           
private  java.io.FileWriter logFileWriter
           
 
Constructor Summary
DiagLog(java.lang.String diagLogFileName)
          Constructor for DiagLog.
 
Method Summary
 void writeInLogFile(java.lang.String debugMessage)
          Method, which writes the debugmessages in the log-file
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

logFileWriter

private java.io.FileWriter logFileWriter

gregorianCalendar

private static java.util.GregorianCalendar gregorianCalendar
Constructor Detail

DiagLog

public DiagLog(java.lang.String diagLogFileName)
Constructor for DiagLog. Get the path for the log-file
Parameters:
String - diagLogFileName
Method Detail

writeInLogFile

public void writeInLogFile(java.lang.String debugMessage)
Method, which writes the debugmessages in the log-file
Parameters:
String - debugMessage