heurgame.logging
Class DebugLogReader

java.lang.Object
  extended byheurgame.logging.DebugLogReader
All Implemented Interfaces:
LogReader

public class DebugLogReader
extends java.lang.Object
implements LogReader

Author:
David Kaplin There will always be an occaision to dump the output of the log to standard output. This class allows just that.

Constructor Summary
DebugLogReader()
           
 
Method Summary
 void clearLog()
          Well this method doesn't do much because of the nature of screen output.
 void readLog(java.lang.String who, int priority, LogItem information)
          Performs the actual printing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugLogReader

public DebugLogReader()
Method Detail

readLog

public void readLog(java.lang.String who,
                    int priority,
                    LogItem information)
Performs the actual printing

Specified by:
readLog in interface LogReader
Parameters:
who - Name of the component registered with the log.
priority - 0 is normal, anything higher is more important.
information - Has the actual log information.
See Also:
LogReader.readLog(java.lang.String, int, heurgame.logging.LogItem)

clearLog

public void clearLog()
Well this method doesn't do much because of the nature of screen output.

Specified by:
clearLog in interface LogReader
See Also:
LogReader.clearLog()