Class ServerLog

java.lang.Object
  |
  +--ServerLog

public class ServerLog
extends java.lang.Object

Static methods log messages to a file. This Class is used to log and debug server activity. Before this class is used, it must be intialized by passing the full path of the directory in which the log file will be created by calling the setLogDirectory method. It only needs to be initialized once.


Field Summary
static java.lang.String endLine
           
 
Constructor Summary
ServerLog()
           
 
Method Summary
static void logEntry(java.lang.Exception ex)
           
static void logEntry(java.lang.String entry)
           
static void logEntry(java.lang.String entry, java.lang.Exception ex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

endLine

public static java.lang.String endLine
Constructor Detail

ServerLog

public ServerLog()
Method Detail

logEntry

public static void logEntry(java.lang.String entry)

logEntry

public static void logEntry(java.lang.Exception ex)

logEntry

public static void logEntry(java.lang.String entry,
                            java.lang.Exception ex)