org.activemath.events.log
Class EventLogFileWriter

java.lang.Object
  extended by org.activemath.events.log.EventLogFileWriter
All Implemented Interfaces:
EventLogger

public class EventLogFileWriter
extends Object
implements EventLogger

Very basic ulog writer. Outputs events as XML. Needs improvements in stream handling: Currently opens and closes the file for each event!


Constructor Summary
EventLogFileWriter(String dir)
           
 
Method Summary
 void logEvent(ActivemathEvent event)
          Log an event to a ulog file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventLogFileWriter

public EventLogFileWriter(String dir)
Method Detail

logEvent

public void logEvent(ActivemathEvent event)
Log an event to a ulog file.

Specified by:
logEvent in interface EventLogger