de.rico.engine.util
Class Log

java.lang.Object
  extended by de.rico.engine.util.Log

public class Log
extends java.lang.Object

Class that returns a logger object by the means of the singleton pattern. The returned logger is an instance of the Java Logger class.

Author:
Frank Bruns

Method Summary
static java.util.logging.Logger getLogger()
          Returns a Java Logger logging object.
static void setLogFile(java.lang.String logFilePath)
          Specifies to which file the log entries ought to be written.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLogger

public static java.util.logging.Logger getLogger()
Returns a Java Logger logging object.

Returns:
logger object

setLogFile

public static void setLogFile(java.lang.String logFilePath)
Specifies to which file the log entries ought to be written.

Parameters:
logFilePath - path to log file