authentication
Class Log

java.lang.Object
  extended by authentication.Log

public class Log
extends java.lang.Object

The Log class is used during debugging. It creates a log of exceptions that has occured.

Author:
Gunn Olaussen & Kirsti N. Torgersen

Constructor Summary
Log()
           
 
Method Summary
static void write(java.lang.Exception exception)
          This method writes the message, class and stack trace of the Exception to the log file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log

public Log()
Method Detail

write

public static void write(java.lang.Exception exception)
This method writes the message, class and stack trace of the Exception to the log file.

Parameters:
exception - Exception The exception that should be written to the log.