pal.util
Class Log

java.lang.Object
  extended by pal.util.Log
All Implemented Interfaces:
Logger

public class Log
extends java.lang.Object
implements Logger

Log provides a mechanism for logging and debugging to the standard output stream.

Version:
$Revision: 1.2 $
Author:
Alexei Drummond

Constructor Summary
Log()
           
 
Method Summary
 void debug(java.lang.Object s)
           
static Logger getDefaultLogger()
           
 boolean isDebugging()
           
 void log(java.lang.Object s)
           
 void setDebug(boolean on)
           
static void setDefaultLogger(Logger logger)
           
 
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

setDebug

public void setDebug(boolean on)

isDebugging

public boolean isDebugging()

log

public void log(java.lang.Object s)
Specified by:
log in interface Logger

debug

public void debug(java.lang.Object s)
Specified by:
debug in interface Logger

getDefaultLogger

public static Logger getDefaultLogger()

setDefaultLogger

public static void setDefaultLogger(Logger logger)