|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
An extension to the Logger interface to allow a team of
supplementary loggers to associated with a main logger.
It is the main logger which handles the standard logger requests.
| Inner Class Summary | |
static interface |
LoggerTeam.StandardTags
The current set of standard tags used to identify member loggers. |
| Method Summary | |
LoggerTeam |
createChildLoggerTeam(String name)
Creates a new child LoggerTeam with the specified name. |
LoggerTeam |
createPrefixingLoggerTeam()
Creates a prefixing version of this LoggerTeam. |
org.apache.avalon.framework.logger.Logger |
getMember(Object tag)
Returns the memeber logger associated with the tag. |
| Methods inherited from interface org.apache.avalon.framework.logger.Logger |
debug, debug, error, error, fatalError, fatalError, getChildLogger, info, info, isDebugEnabled, isErrorEnabled, isFatalErrorEnabled, isInfoEnabled, isWarnEnabled, warn, warn |
| Method Detail |
public org.apache.avalon.framework.logger.Logger getMember(Object tag)
NullLogger.tag - the logger's tagpublic LoggerTeam createChildLoggerTeam(String name)
LoggerTeam with the specified name.
This operation has the same function as the getChildLogger
operation, but avoids the need to cast to LoggerTeam.name - the new child's nameIllegalArgumentException - if name is an empty stringLogger.getChildLogger(String)public LoggerTeam createPrefixingLoggerTeam()
LoggerTeam.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||