org.jclouds.logging.log4j
Class Log4JLogger
java.lang.Object
org.jclouds.logging.BaseLogger
org.jclouds.logging.log4j.Log4JLogger
- All Implemented Interfaces:
- Logger
public class Log4JLogger
- extends BaseLogger
Logger
implementation of Logger
.
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log4JLogger
public Log4JLogger(String category,
org.apache.log4j.Logger logger)
logTrace
protected void logTrace(String message)
- Specified by:
logTrace
in class BaseLogger
isTraceEnabled
public boolean isTraceEnabled()
logDebug
protected void logDebug(String message)
- Specified by:
logDebug
in class BaseLogger
isDebugEnabled
public boolean isDebugEnabled()
logInfo
protected void logInfo(String message)
- Specified by:
logInfo
in class BaseLogger
isInfoEnabled
public boolean isInfoEnabled()
logWarn
protected void logWarn(String message)
- Specified by:
logWarn
in class BaseLogger
logWarn
protected void logWarn(String message,
Throwable e)
- Specified by:
logWarn
in class BaseLogger
isWarnEnabled
public boolean isWarnEnabled()
logError
protected void logError(String message)
- Specified by:
logError
in class BaseLogger
logError
protected void logError(String message,
Throwable e)
- Specified by:
logError
in class BaseLogger
isErrorEnabled
public boolean isErrorEnabled()
getCategory
public String getCategory()
Copyright © 2009-2011 jclouds. All Rights Reserved.