org.jclouds.logging.slf4j
Class SLF4JLogger
java.lang.Object
org.jclouds.logging.BaseLogger
org.jclouds.logging.slf4j.SLF4JLogger
- All Implemented Interfaces:
- Logger
public class SLF4JLogger
- extends BaseLogger
org.apache.slf4j.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 |
SLF4JLogger
public SLF4JLogger(String category,
org.slf4j.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-2012 jclouds. All Rights Reserved.