|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.waffle.monitor.AbstractWritingMonitor
org.codehaus.waffle.monitor.CommonsLoggingMonitor
public class CommonsLoggingMonitor
Writing monitor that uses Commons-Logging to log events
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.codehaus.waffle.monitor.Monitor |
|---|
Monitor.Level |
| Constructor Summary | |
|---|---|
CommonsLoggingMonitor()
Creates the default CommonsLoggingMonitor |
|
CommonsLoggingMonitor(org.apache.commons.logging.Log log)
Creates a CommonsLoggingMonitor with a given Log instance |
|
CommonsLoggingMonitor(java.lang.String logName)
Creates a CommonsLoggingMonitor with a given Log instance name. |
|
| Method Summary | |
|---|---|
protected void |
trace(java.lang.Throwable exception)
Traces an exception. |
protected void |
write(Monitor.Level level,
java.lang.String message)
Writes message for a given level. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonsLoggingMonitor()
public CommonsLoggingMonitor(java.lang.String logName)
LogFactory to
create the Log instance
logName - the name of the Logpublic CommonsLoggingMonitor(org.apache.commons.logging.Log log)
log - the Log to write to| Method Detail |
|---|
protected void write(Monitor.Level level,
java.lang.String message)
AbstractWritingMonitor
write in class AbstractWritingMonitorlevel - the Levelmessage - the message to writeprotected void trace(java.lang.Throwable exception)
AbstractWritingMonitor
trace in class AbstractWritingMonitorexception - the Throwable to trace
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||