| java.lang.Object org.codehaus.dna.AbstractLogEnabled
All known Subclasses: org.codehaus.dna.MockLogEnabled,
AbstractLogEnabled | abstract public class AbstractLogEnabled implements LogEnabled(Code) | | Abstract utility class that components can extend to
make it easy to implement logging.
version: $Revision: 1.2 $ $Date: 2004/05/01 09:51:48 $ |
Method Summary | |
public void | enableLogging(Logger logger) Set the components logger. | final protected Logger | getLogger() Return the components logger. | final protected void | setupLogger(Object object) Utility method to setup specified object
with current components logger. | final protected void | setupLogger(Object object, String name) Utility method to setup specified object
with a child logger of components current
logger with specified name. |
enableLogging | public void enableLogging(Logger logger)(Code) | | Set the components logger.
Parameters: logger - the logger |
getLogger | final protected Logger getLogger()(Code) | | Return the components logger.
the components logger. |
setupLogger | final protected void setupLogger(Object object)(Code) | | Utility method to setup specified object
with current components logger.
Parameters: object - the object |
setupLogger | final protected void setupLogger(Object object, String name)(Code) | | Utility method to setup specified object
with a child logger of components current
logger with specified name.
Parameters: object - the object Parameters: name - the name of child logger |
|
|