org.codehaus.cargo.util.log
Class LoggedObject

java.lang.Object
  extended by org.codehaus.cargo.util.log.LoggedObject
All Implemented Interfaces:
Loggable

public class LoggedObject
extends java.lang.Object
implements Loggable

Helper class for implementing Loggable methods.

Version:
$Id: LoggedObject.java 1705 2008-09-02 13:14:55Z adriana $

Constructor Summary
LoggedObject()
           
 
Method Summary
 Logger getLogger()
          
 void setLogger(Logger logger)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggedObject

public LoggedObject()
Method Detail

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-2011 Codehaus. All Rights Reserved.