heurgame.logging
Interface LogReader

All Known Implementing Classes:
DebugLogReader, GraphicalLogInterface

public interface LogReader

Author:
David Kaplin A LogReader is any component that reads or expected information coming from a log.

Method Summary
 void clearLog()
          Resets the reader to its initial state.
 void readLog(java.lang.String who, int priority, LogItem information)
          Callback method from Log when it receives new information.
 

Method Detail

readLog

public void readLog(java.lang.String who,
                    int priority,
                    LogItem information)
Callback method from Log when it receives new information.

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.

clearLog

public void clearLog()
Resets the reader to its initial state.