org.apache.jetspeed.container.services.log
Class ContainerLoggerAdaptor

java.lang.Object
  extended by org.apache.jetspeed.container.services.log.ContainerLoggerAdaptor
All Implemented Interfaces:
org.apache.pluto.services.ContainerService, org.apache.pluto.services.log.Logger

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

ContainerLoggerAdaptor

Version:
$Id: ContainerLoggerAdaptor.java 516448 2007-03-09 16:25:47Z ate $
Author:
David Sean Taylor

Field Summary
private  org.apache.commons.logging.Log log
           
 
Constructor Summary
ContainerLoggerAdaptor(org.apache.commons.logging.Log log)
           
 
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 aThrowable)
           
 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

log

private org.apache.commons.logging.Log log
Constructor Detail

ContainerLoggerAdaptor

public ContainerLoggerAdaptor(org.apache.commons.logging.Log log)
Method Detail

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled 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

isErrorEnabled

public boolean isErrorEnabled()
Specified by:
isErrorEnabled 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

debug

public void debug(String aMessage,
                  Throwable aThrowable)
Specified by:
debug 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

warn

public void warn(String aMessage)
Specified by:
warn 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

error

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

error

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


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.