public class AntLogger extends BaseLogger
Project
implementation of Logger
.Modifier and Type | Class and Description |
---|---|
static class |
AntLogger.AntLoggerFactory |
Logger.LoggerFactory
Constructor and Description |
---|
AntLogger(org.apache.tools.ant.Project project,
String category,
boolean alwaysLog) |
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 AntLogger(org.apache.tools.ant.Project project, String category, boolean alwaysLog)
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.