org.apache.cocoon.portal.pluto.service.log
Class LoggerImpl

java.lang.Object
  extended byorg.apache.cocoon.portal.pluto.service.log.LoggerImpl
All Implemented Interfaces:
org.apache.pluto.services.ContainerService, org.apache.pluto.services.log.Logger

public class LoggerImpl
extends Object
implements org.apache.pluto.services.log.Logger

Our own log service logging to an avalon logger.

Version:
$Id: LoggerImpl.java 325880 2005-10-17 11:57:44Z cziegeler $

Field Summary
protected  Logger logger
          The logger to use
 
Constructor Summary
LoggerImpl(Logger logger)
          Constructor
 
Method Summary
 void debug(String aMessage)
           
 void debug(String aMessage, Throwable aThrowable)
           
 void error(String aMessage)
           
 void error(String aMessage, Throwable aThrowable)
           
 void error(Throwable throwable)
           
 void info(String aMessage)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
           
 void warn(String aMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected Logger logger
The logger to use

Constructor Detail

LoggerImpl

public LoggerImpl(Logger logger)
Constructor

Method Detail

debug

public void debug(String aMessage,
                  Throwable aThrowable)
Specified by:
debug in interface org.apache.pluto.services.log.Logger
See Also:
Logger.debug(java.lang.String, java.lang.Throwable)

debug

public void debug(String aMessage)
Specified by:
debug in interface org.apache.pluto.services.log.Logger
See Also:
Logger.debug(java.lang.String)

error

public void error(String aMessage,
                  Throwable aThrowable)
Specified by:
error in interface org.apache.pluto.services.log.Logger
See Also:
Logger.error(java.lang.String, java.lang.Throwable)

info

public void info(String aMessage)
Specified by:
info in interface org.apache.pluto.services.log.Logger
See Also:
Logger.info(java.lang.String)

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface org.apache.pluto.services.log.Logger
See Also:
Logger.isDebugEnabled()

isErrorEnabled

public boolean isErrorEnabled()
Specified by:
isErrorEnabled in interface org.apache.pluto.services.log.Logger
See Also:
Logger.isErrorEnabled()

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface org.apache.pluto.services.log.Logger
See Also:
Logger.isInfoEnabled()

isWarnEnabled

public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface org.apache.pluto.services.log.Logger
See Also:
Logger.isWarnEnabled()

warn

public void warn(String aMessage)
Specified by:
warn in interface org.apache.pluto.services.log.Logger
See Also:
Logger.warn(java.lang.String)

error

public void error(Throwable throwable)
Specified by:
error in interface org.apache.pluto.services.log.Logger
See Also:
Logger.error(java.lang.Throwable)

error

public void error(String aMessage)
Specified by:
error in interface org.apache.pluto.services.log.Logger
See Also:
Logger.error(java.lang.String)


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.