|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.util.CommonsLoggingOutput
public class CommonsLoggingOutput
This class is intended to be used by Logger when commons-logging is available, but to not force Logger itself to depend on commons-logging so Logger can catch the ClassDefNotFoundError and use other methods.
| Field Summary |
|---|
| Fields inherited from interface org.directwebremoting.util.LoggingOutput |
|---|
LEVEL_DEBUG, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN |
| Constructor Summary | |
|---|---|
CommonsLoggingOutput(java.lang.Class base)
Create a logger specific to commons-logging |
|
| Method Summary | |
|---|---|
void |
debug(java.lang.String message)
Logger a debug message |
void |
error(java.lang.String message)
Logger an error message |
void |
error(java.lang.String message,
java.lang.Throwable th)
Logger an error message |
void |
fatal(java.lang.String message)
Logger a fatal error message |
void |
fatal(java.lang.String message,
java.lang.Throwable th)
Logger a fatal error message |
void |
info(java.lang.String message)
Logger an info message |
boolean |
isDebugEnabled()
Save CPU time when we are not debugging |
void |
warn(java.lang.String message)
Logger a warning message |
void |
warn(java.lang.String message,
java.lang.Throwable th)
Logger a warning message |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonsLoggingOutput(java.lang.Class base)
base - The class to log against.| Method Detail |
|---|
public void debug(java.lang.String message)
LoggingOutput
debug in interface LoggingOutputmessage - The text to logpublic void info(java.lang.String message)
LoggingOutput
info in interface LoggingOutputmessage - The text to logpublic void warn(java.lang.String message)
LoggingOutput
warn in interface LoggingOutputmessage - The text to log
public void warn(java.lang.String message,
java.lang.Throwable th)
LoggingOutput
warn in interface LoggingOutputmessage - The text to logth - An optional stack tracepublic void error(java.lang.String message)
LoggingOutput
error in interface LoggingOutputmessage - The text to log
public void error(java.lang.String message,
java.lang.Throwable th)
LoggingOutput
error in interface LoggingOutputmessage - The text to logth - An optional stack tracepublic void fatal(java.lang.String message)
LoggingOutput
fatal in interface LoggingOutputmessage - The text to log
public void fatal(java.lang.String message,
java.lang.Throwable th)
LoggingOutput
fatal in interface LoggingOutputmessage - The text to logth - An optional stack tracepublic boolean isDebugEnabled()
LoggingOutput
isDebugEnabled in interface LoggingOutput
|
Copyright ¬ 2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||