org.prevayler.foundation.monitor
Class SimpleMonitor
java.lang.Object
org.prevayler.foundation.monitor.LoggingMonitor
org.prevayler.foundation.monitor.SimpleMonitor
- All Implemented Interfaces:
- Monitor
public class SimpleMonitor
- extends LoggingMonitor
A Monitor that logs output to a PrintStream (System.out by default).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleMonitor
public SimpleMonitor()
SimpleMonitor
public SimpleMonitor(PrintStream stream)
- Parameters:
stream
- The stream to be used for logging.
info
protected void info(Class clazz,
String message)
- Specified by:
info
in class LoggingMonitor
error
protected void error(Class clazz,
String message,
Exception ex)
- Specified by:
error
in class LoggingMonitor
Copyright © 2001-2013. All Rights Reserved.