|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLoggable
AbstractLogEnabled instead.
public abstract class AbstractLoggable
Utility class to allow construction of easy components that will perform logging.
| Constructor Summary | |
|---|---|
AbstractLoggable()
Deprecated. |
|
| Method Summary | |
|---|---|
protected org.apache.log.Logger |
getLogger()
Deprecated. Helper method to allow sub-classes to aquire logger. |
void |
setLogger(org.apache.log.Logger logger)
Deprecated. Set the components logger. |
protected void |
setupLogger(java.lang.Object component)
Deprecated. Helper method to setup other components with same logger. |
protected void |
setupLogger(java.lang.Object component,
org.apache.log.Logger logger)
Deprecated. Helper method to setup other components with logger. |
protected void |
setupLogger(java.lang.Object component,
java.lang.String subCategory)
Deprecated. Helper method to setup other components with logger. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractLoggable()
| Method Detail |
|---|
public void setLogger(org.apache.log.Logger logger)
setLogger in interface Loggablelogger - the loggerprotected final org.apache.log.Logger getLogger()
There is no performance penalty as this is a final method and will be inlined by the JVM.
protected void setupLogger(java.lang.Object component)
component - the component to pass logger object to
protected void setupLogger(java.lang.Object component,
java.lang.String subCategory)
component - the component to pass logger object tosubCategory - the subcategory to use (may be null)
protected void setupLogger(java.lang.Object component,
org.apache.log.Logger logger)
component - the component to pass logger object tologger - the Logger
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||