org.codehaus.cargo.util.log
Class LoggedObject
java.lang.Object
org.codehaus.cargo.util.log.LoggedObject
- All Implemented Interfaces:
- Loggable
- Direct Known Subclasses:
- AbstractConfiguration, AbstractContainer, AbstractDeployable, AbstractDeployer, AbstractDirectoryPackager, AbstractGenericHintFactory, DeployerWatchdog, HttpUtils, Proxy, ResourceUtils, TomcatManager, URLDeployableMonitor, XmlMerger, ZipURLInstaller
public class LoggedObject
- extends Object
- implements Loggable
Helper class for implementing Loggable
methods.
- Version:
- $Id: LoggedObject.java 1705 2008-09-02 13:14:55Z adriana $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggedObject
public LoggedObject()
setLogger
public void setLogger(Logger logger)
-
- Specified by:
setLogger
in interface Loggable
- Parameters:
logger
- the log implementation to use for logging- See Also:
Loggable.setLogger(Logger)
getLogger
public Logger getLogger()
-
- Specified by:
getLogger
in interface Loggable
- Returns:
- the logger used
- See Also:
Loggable.getLogger()
Copyright © 2004-2012 Codehaus. All Rights Reserved.