org.apache.myfaces.tobago.util
Class CommonsLoggingLogger

java.lang.Object
  extended by org.apache.myfaces.tobago.util.CommonsLoggingLogger
All Implemented Interfaces:
org.apache.avalon.framework.logger.Logger

public class CommonsLoggingLogger
extends Object
implements org.apache.avalon.framework.logger.Logger


Constructor Summary
CommonsLoggingLogger(Log log)
           
 
Method Summary
 void debug(String reference)
           
 void debug(String reference, Throwable throwable)
           
 void error(String reference)
           
 void error(String reference, Throwable throwable)
           
 void fatalError(String reference)
           
 void fatalError(String reference, Throwable throwable)
           
 org.apache.avalon.framework.logger.Logger getChildLogger(String reference)
           
 void info(String reference)
           
 void info(String reference, Throwable throwable)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isFatalErrorEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
           
 void warn(String reference)
           
 void warn(String reference, Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonsLoggingLogger

public CommonsLoggingLogger(Log log)
Method Detail

debug

public void debug(String reference)
Specified by:
debug in interface org.apache.avalon.framework.logger.Logger

debug

public void debug(String reference,
                  Throwable throwable)
Specified by:
debug in interface org.apache.avalon.framework.logger.Logger

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface org.apache.avalon.framework.logger.Logger

info

public void info(String reference)
Specified by:
info in interface org.apache.avalon.framework.logger.Logger

info

public void info(String reference,
                 Throwable throwable)
Specified by:
info in interface org.apache.avalon.framework.logger.Logger

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface org.apache.avalon.framework.logger.Logger

warn

public void warn(String reference)
Specified by:
warn in interface org.apache.avalon.framework.logger.Logger

warn

public void warn(String reference,
                 Throwable throwable)
Specified by:
warn in interface org.apache.avalon.framework.logger.Logger

isWarnEnabled

public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface org.apache.avalon.framework.logger.Logger

error

public void error(String reference)
Specified by:
error in interface org.apache.avalon.framework.logger.Logger

error

public void error(String reference,
                  Throwable throwable)
Specified by:
error in interface org.apache.avalon.framework.logger.Logger

isErrorEnabled

public boolean isErrorEnabled()
Specified by:
isErrorEnabled in interface org.apache.avalon.framework.logger.Logger

fatalError

public void fatalError(String reference)
Specified by:
fatalError in interface org.apache.avalon.framework.logger.Logger

fatalError

public void fatalError(String reference,
                       Throwable throwable)
Specified by:
fatalError in interface org.apache.avalon.framework.logger.Logger

isFatalErrorEnabled

public boolean isFatalErrorEnabled()
Specified by:
isFatalErrorEnabled in interface org.apache.avalon.framework.logger.Logger

getChildLogger

public org.apache.avalon.framework.logger.Logger getChildLogger(String reference)
Specified by:
getChildLogger in interface org.apache.avalon.framework.logger.Logger


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.