org.jclouds.tools.ant.logging
Class AntLogger
java.lang.Object
org.jclouds.logging.BaseLogger
org.jclouds.tools.ant.logging.AntLogger
- All Implemented Interfaces:
- Logger
public class AntLogger
- extends BaseLogger
Project
implementation of Logger
.
- Author:
- Adrian Cole
Constructor Summary |
AntLogger(org.apache.tools.ant.Project project,
String category,
boolean alwaysLog)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AntLogger
public AntLogger(org.apache.tools.ant.Project project,
String category,
boolean alwaysLog)
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.