|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.prevayler.foundation.monitor.LoggingMonitor
public abstract class LoggingMonitor
Abstract Monitor for Logging implementation monitors to extend.
Constructor Summary | |
---|---|
LoggingMonitor()
|
Method Summary | |
---|---|
protected abstract void |
error(Class clazz,
String message,
Exception ex)
|
protected abstract void |
info(Class clazz,
String Message)
|
protected boolean |
isInfoEnabled(Class clazz)
default returns true. |
void |
notify(Class clazz,
String message)
Something interesting happened. |
void |
notify(Class clazz,
String message,
Exception ex)
An interesting exception was thrown. |
void |
notify(Class clazz,
String message,
File file)
Something interesting happened regarding access to a file. |
void |
notify(Class clazz,
String message,
File file,
Exception ex)
An exception was thrown while trying to access a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingMonitor()
Method Detail |
---|
public void notify(Class clazz, String message)
Monitor
notify
in interface Monitor
public void notify(Class clazz, String message, Exception ex)
Monitor
notify
in interface Monitor
public void notify(Class clazz, String message, File file)
Monitor
notify
in interface Monitor
public void notify(Class clazz, String message, File file, Exception ex)
Monitor
notify
in interface Monitor
protected abstract void info(Class clazz, String Message)
protected abstract void error(Class clazz, String message, Exception ex)
protected boolean isInfoEnabled(Class clazz)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |