org.jactr.core.logging.impl
Class PrintWriterLogger

java.lang.Object
  extended by org.jactr.core.logging.impl.PrintWriterLogger
All Implemented Interfaces:
java.util.EventListener, ILogger

public class PrintWriterLogger
extends java.lang.Object
implements ILogger

Author:
developer

Constructor Summary
PrintWriterLogger(java.io.PrintWriter output)
           
 
Method Summary
 void flush()
           
 void log(LogEvent logEvent)
          some logging event has been fired off.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintWriterLogger

public PrintWriterLogger(java.io.PrintWriter output)
Method Detail

log

public void log(LogEvent logEvent)
Description copied from interface: ILogger
some logging event has been fired off. The message will be associated with the provided model (possibly null if from the runtime), to be categorized under streamName (should be unique from ILoggable).

Specified by:
log in interface ILogger
See Also:
ILogger.log(org.jactr.core.logging.LogEvent)

flush

public void flush()
Specified by:
flush in interface ILogger