|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface that extends the Logger interface and allows for the implementing class to add and remove Log4j appender Objects to the logger.
| Field Summary |
| Fields inherited from interface com.cafesoft.core.log.Logger |
DEBUG, ERROR, FATAL, INFO, WARNING |
| Method Summary | |
void |
addAppender(org.apache.log4j.Appender appender)
Add an appender to the Logger |
void |
removeAppender(org.apache.log4j.Appender appender)
Remove an appender from the Logger |
void |
setFullyQualifiedClassName(String className)
Set the fully qualified class name of the calling class. |
| Methods inherited from interface com.cafesoft.core.log.Logger |
debug, debug, error, error, fatal, fatal, info, info, initialize, setMessageFilter, warning, warning |
| Method Detail |
public void setFullyQualifiedClassName(String className)
Setting this value will allow for the logger to maintain the class that actually called the log method. This is a log4j specific detail. We need this set otherwise any class that "has a" Log4JLogger will not print out the appropriate class information.
className - the fully-qualified class namepublic void addAppender(org.apache.log4j.Appender appender)
appender - the Appender Object to add to the Loggerpublic void removeAppender(org.apache.log4j.Appender appender)
appender - the Appender Object to remove from the Logger
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||