org.prevayler.foundation.monitor
Class Log4jMonitor
java.lang.Object
org.prevayler.foundation.monitor.LoggingMonitor
org.prevayler.foundation.monitor.Log4jMonitor
- All Implemented Interfaces:
- Monitor
public class Log4jMonitor
- extends LoggingMonitor
A Monitor that logs output using Log4j. Loggers are named by fully qualified
class name for easy configuration and control over logging output.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log4jMonitor
public Log4jMonitor()
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
isInfoEnabled
protected boolean isInfoEnabled(Class clazz)
- Description copied from class:
LoggingMonitor
- default returns true. Override as needed.
- Overrides:
isInfoEnabled
in class LoggingMonitor
Copyright © 2001-2013. All Rights Reserved.