public class SLF4JLogger extends BaseLogger
org.apache.slf4j.Logger
implementation of Logger
.Modifier and Type | Class and Description |
---|---|
static class |
SLF4JLogger.SLF4JLoggerFactory |
Logger.LoggerFactory
Constructor and Description |
---|
SLF4JLogger(String category,
org.slf4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
String |
getCategory() |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
protected void |
logDebug(String message) |
protected void |
logError(String message) |
protected void |
logError(String message,
Throwable e) |
protected void |
logInfo(String message) |
protected void |
logTrace(String message) |
protected void |
logWarn(String message) |
protected void |
logWarn(String message,
Throwable e) |
public SLF4JLogger(String category, org.slf4j.Logger logger)
protected void logTrace(String message)
logTrace
in class BaseLogger
public boolean isTraceEnabled()
protected void logDebug(String message)
logDebug
in class BaseLogger
public boolean isDebugEnabled()
protected void logInfo(String message)
logInfo
in class BaseLogger
public boolean isInfoEnabled()
protected void logWarn(String message)
logWarn
in class BaseLogger
protected void logWarn(String message, Throwable e)
logWarn
in class BaseLogger
public boolean isWarnEnabled()
protected void logError(String message)
logError
in class BaseLogger
protected void logError(String message, Throwable e)
logError
in class BaseLogger
public boolean isErrorEnabled()
public String getCategory()
Copyright © 2009-2012 jclouds. All Rights Reserved.