org.apache.avalon.framework.logger
public abstract class AbstractLogEnabled extends Object implements LogEnabled
Version: CVS $Revision: 1.14 $ $Date: 2003/02/11 15:58:40 $
Method Summary | |
---|---|
void | enableLogging(Logger logger)
Set the components logger.
|
protected Logger | getLogger()
Helper method to allow sub-classes to aquire logger.
|
protected void | setupLogger(Object component)
Helper method to setup other components with same logger.
|
protected void | setupLogger(Object component, String subCategory)
Helper method to setup other components with logger.
|
protected void | setupLogger(Object component, Logger logger)
Helper method to setup other components with logger.
|
Parameters: logger the logger
There is no performance penalty as this is a final method and will be inlined by the JVM.
Returns: the Logger
Parameters: component the component to pass logger object to
Parameters: component the component to pass logger object to subCategory the subcategory to use (may be null)
Parameters: component the component to pass logger object to logger the Logger