org.apache.cocoon.util.avalon
Class CLLoggerWrapper

java.lang.Object
  extended byorg.apache.cocoon.util.avalon.CLLoggerWrapper
All Implemented Interfaces:
Logger

public class CLLoggerWrapper
extends Object
implements Logger

Commons Logging to Avalon Logger adapter.

Version:
$Id: CLLoggerWrapper.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
protected  Log log
           
 
Constructor Summary
CLLoggerWrapper(Log l)
           
 
Method Summary
 void debug(String arg0)
           
 void debug(String arg0, Throwable arg1)
           
 void error(String arg0)
           
 void error(String arg0, Throwable arg1)
           
 void fatalError(String arg0)
           
 void fatalError(String arg0, Throwable arg1)
           
 Logger getChildLogger(String arg0)
           
 void info(String arg0)
           
 void info(String arg0, Throwable arg1)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isFatalErrorEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
           
 void warn(String arg0)
           
 void warn(String arg0, Throwable arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final Log log
Constructor Detail

CLLoggerWrapper

public CLLoggerWrapper(Log l)
Method Detail

debug

public void debug(String arg0,
                  Throwable arg1)
Specified by:
debug in interface Logger
See Also:
Logger.debug(java.lang.String, java.lang.Throwable)

debug

public void debug(String arg0)
Specified by:
debug in interface Logger
See Also:
Logger.debug(java.lang.String)

error

public void error(String arg0,
                  Throwable arg1)
Specified by:
error in interface Logger
See Also:
Logger.error(java.lang.String, java.lang.Throwable)

error

public void error(String arg0)
Specified by:
error in interface Logger
See Also:
Logger.error(java.lang.String)

fatalError

public void fatalError(String arg0,
                       Throwable arg1)
Specified by:
fatalError in interface Logger
See Also:
Logger.fatalError(java.lang.String, java.lang.Throwable)

fatalError

public void fatalError(String arg0)
Specified by:
fatalError in interface Logger
See Also:
Logger.fatalError(java.lang.String)

info

public void info(String arg0,
                 Throwable arg1)
Specified by:
info in interface Logger
See Also:
Logger.info(java.lang.String, java.lang.Throwable)

info

public void info(String arg0)
Specified by:
info in interface Logger
See Also:
Logger.info(java.lang.String)

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface Logger
See Also:
Logger.isDebugEnabled()

isErrorEnabled

public boolean isErrorEnabled()
Specified by:
isErrorEnabled in interface Logger
See Also:
Logger.isErrorEnabled()

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface Logger
See Also:
Logger.isInfoEnabled()

isWarnEnabled

public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface Logger
See Also:
Logger.isWarnEnabled()

warn

public void warn(String arg0,
                 Throwable arg1)
Specified by:
warn in interface Logger
See Also:
Logger.warn(java.lang.String, java.lang.Throwable)

warn

public void warn(String arg0)
Specified by:
warn in interface Logger
See Also:
Logger.warn(java.lang.String)

getChildLogger

public Logger getChildLogger(String arg0)
Specified by:
getChildLogger in interface Logger
See Also:
Logger.getChildLogger(java.lang.String)

isFatalErrorEnabled

public boolean isFatalErrorEnabled()
Specified by:
isFatalErrorEnabled in interface Logger
See Also:
Logger.isFatalErrorEnabled()


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.