public class Log4JLogger extends BaseLogger
Logger
implementation of Logger
.Modifier and Type | Class and Description |
---|---|
static class |
Log4JLogger.Log4JLoggerFactory |
Logger.LoggerFactory
Constructor and Description |
---|
Log4JLogger(String category,
org.apache.log4j.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 Log4JLogger(String category, org.apache.log4j.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.