com.amazon.carbonado.repo.logging
Class CommonsLog

java.lang.Object
  extended by com.amazon.carbonado.repo.logging.CommonsLog
All Implemented Interfaces:
Log

public class CommonsLog
extends Object
implements Log

Log implementation that uses Jakarta Commons Logging at debug level.

Author:
Brian S O'Neill

Constructor Summary
CommonsLog(Class clazz)
           
CommonsLog(org.apache.commons.logging.Log log)
           
 
Method Summary
 boolean isEnabled()
           
 void write(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonsLog

public CommonsLog(org.apache.commons.logging.Log log)

CommonsLog

public CommonsLog(Class clazz)
Method Detail

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface Log

write

public void write(String message)
Specified by:
write in interface Log


Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.