|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.chwf.plugin.Logger
|
+--org.chwf.plugin.defaults.DefaultLogger
A default user plugin implementation that uses the Servlet API to log errors and text. It ignores the context class, and uses the Chrysalis-Config.xml file to determine is debugging is active.
| Fields inherited from class org.chwf.plugin.Logger |
LOGGER_ID |
| Constructor Summary | |
DefaultLogger()
Constuctor. |
|
| Method Summary | |
void |
log(java.lang.Class context,
java.lang.Object message,
java.lang.Throwable ex,
boolean debug)
Log the message using the ServletContext.log() method or
System.err, depending on what is available. |
| Methods inherited from class org.chwf.plugin.Logger |
debug, debug, getInstance, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultLogger()
| Method Detail |
public void log(java.lang.Class context,
java.lang.Object message,
java.lang.Throwable ex,
boolean debug)
ServletContext.log() method or
System.err, depending on what is available.log in class Loggercontext - The context class for the log message.message - The message (string value is logged).ex - The exception (logs the stack-trace).debug - True if logged at the debug level.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||