|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.excalibur.testcase.BufferedLogger
Simple Logger which logs all information to an internal StringBuffer. When logging is complete call toString() on the logger to obtain the logged output. Useful for testing.
| Constructor Summary | |
BufferedLogger()
Deprecated. |
|
| Method Summary | |
void |
debug(java.lang.String message)
Deprecated. Log a debug message. |
void |
debug(java.lang.String message,
java.lang.Throwable throwable)
Deprecated. Log a debug message. |
void |
error(java.lang.String message)
Deprecated. Log a error message. |
void |
error(java.lang.String message,
java.lang.Throwable throwable)
Deprecated. Log a error message. |
void |
fatalError(java.lang.String message)
Deprecated. Log a fatalError message. |
void |
fatalError(java.lang.String message,
java.lang.Throwable throwable)
Deprecated. Log a fatalError message. |
org.apache.avalon.framework.logger.Logger |
getChildLogger(java.lang.String name)
Deprecated. Create a new child logger. |
void |
info(java.lang.String message)
Deprecated. Log a info message. |
void |
info(java.lang.String message,
java.lang.Throwable throwable)
Deprecated. Log a info message. |
boolean |
isDebugEnabled()
Deprecated. Determine if messages of priority "debug" will be logged. |
boolean |
isErrorEnabled()
Deprecated. Determine if messages of priority "error" will be logged. |
boolean |
isFatalErrorEnabled()
Deprecated. Determine if messages of priority "fatalError" will be logged. |
boolean |
isInfoEnabled()
Deprecated. Determine if messages of priority "info" will be logged. |
boolean |
isWarnEnabled()
Deprecated. Determine if messages of priority "warn" will be logged. |
java.lang.String |
toString()
Deprecated. Returns the contents of the buffer. |
void |
warn(java.lang.String message)
Deprecated. Log a warn message. |
void |
warn(java.lang.String message,
java.lang.Throwable throwable)
Deprecated. Log a warn message. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BufferedLogger()
| Method Detail |
public void debug(java.lang.String message)
debug in interface org.apache.avalon.framework.logger.Loggermessage - the message
public void debug(java.lang.String message,
java.lang.Throwable throwable)
debug in interface org.apache.avalon.framework.logger.Loggermessage - the messagethrowable - the throwablepublic boolean isDebugEnabled()
isDebugEnabled in interface org.apache.avalon.framework.logger.Loggerpublic void info(java.lang.String message)
info in interface org.apache.avalon.framework.logger.Loggermessage - the message
public void info(java.lang.String message,
java.lang.Throwable throwable)
info in interface org.apache.avalon.framework.logger.Loggermessage - the messagethrowable - the throwablepublic boolean isInfoEnabled()
isInfoEnabled in interface org.apache.avalon.framework.logger.Loggerpublic void warn(java.lang.String message)
warn in interface org.apache.avalon.framework.logger.Loggermessage - the message
public void warn(java.lang.String message,
java.lang.Throwable throwable)
warn in interface org.apache.avalon.framework.logger.Loggermessage - the messagethrowable - the throwablepublic boolean isWarnEnabled()
isWarnEnabled in interface org.apache.avalon.framework.logger.Loggerpublic void error(java.lang.String message)
error in interface org.apache.avalon.framework.logger.Loggermessage - the message
public void error(java.lang.String message,
java.lang.Throwable throwable)
error in interface org.apache.avalon.framework.logger.Loggermessage - the messagethrowable - the throwablepublic boolean isErrorEnabled()
isErrorEnabled in interface org.apache.avalon.framework.logger.Loggerpublic void fatalError(java.lang.String message)
fatalError in interface org.apache.avalon.framework.logger.Loggermessage - the message
public void fatalError(java.lang.String message,
java.lang.Throwable throwable)
fatalError in interface org.apache.avalon.framework.logger.Loggermessage - the messagethrowable - the throwablepublic boolean isFatalErrorEnabled()
isFatalErrorEnabled in interface org.apache.avalon.framework.logger.Loggerpublic org.apache.avalon.framework.logger.Logger getChildLogger(java.lang.String name)
getChildLogger in interface org.apache.avalon.framework.logger.Loggername - the subname of this logger
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||