org.jclouds.tools.ant.logging
Class AntLogger

java.lang.Object
  extended by org.jclouds.logging.BaseLogger
      extended by org.jclouds.tools.ant.logging.AntLogger
All Implemented Interfaces:
Logger

public class AntLogger
extends BaseLogger

Project implementation of Logger.

Author:
Adrian Cole

Nested Class Summary
static class AntLogger.AntLoggerFactory
           
 
Nested classes/interfaces inherited from interface org.jclouds.logging.Logger
Logger.LoggerFactory
 
Field Summary
 
Fields inherited from interface org.jclouds.logging.Logger
CONSOLE, NULL
 
Constructor Summary
AntLogger(org.apache.tools.ant.Project project, String category, boolean alwaysLog)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.jclouds.logging.BaseLogger
debug, error, error, info, trace, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntLogger

public AntLogger(org.apache.tools.ant.Project project,
                 String category,
                 boolean alwaysLog)
Method Detail

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.