jitas.util
Class Logger

java.lang.Object
  extended by jitas.util.Logger

public class Logger
extends java.lang.Object

The Logger class allows straightforward logging of error/warning information into a log file, where the associated time and date of the error/warning will be recorded automatically with the message.

Version:
07 August 2007
Author:
DeathMarch (c314g2)

Constructor Summary
Logger()
           
 
Method Summary
static void addEntry(java.lang.String message)
          This method adds an entry to the error log file warnings.txt, recording the time and date and the nature of the error/warning.
static void clearLog()
          Clear the log file to empty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logger

public Logger()
Method Detail

addEntry

public static void addEntry(java.lang.String message)
This method adds an entry to the error log file warnings.txt, recording the time and date and the nature of the error/warning.

Parameters:
message - The descriptive string with the error/warning information

clearLog

public static void clearLog()
Clear the log file to empty