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

java.lang.Object
  extended by org.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:
CVS $Id: LoggerImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

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

debug

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

error

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

info

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

isDebugEnabled

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

isErrorEnabled

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

isInfoEnabled

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

isWarnEnabled

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

warn

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

error

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

error

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


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.