|
Log4j 1.3alpha-5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log4j.spi.ComponentBase
Most log4j components derive from this class.
Field Summary | |
protected LoggerRepository |
repository
|
Constructor Summary | |
ComponentBase()
|
Method Summary | |
protected ULogger |
getLogger()
Return an instance specific logger to be used by the component itself. |
void |
setLoggerRepository(LoggerRepository repository)
Set the owning repository. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected LoggerRepository repository
Constructor Detail |
public ComponentBase()
Method Detail |
public void setLoggerRepository(LoggerRepository repository)
setLoggerRepository
in interface Component
repository
- The repository where this appender is attached.protected ULogger getLogger()
In case the repository for this component is not set,
this implementations returns a SimpleLogger
instance.
|
Log4j 1.3alpha-5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |