net.ggtools.grand.log
Class AntLog

java.lang.Object
  extended by net.ggtools.grand.log.SimpleLog
      extended by net.ggtools.grand.log.AntLog
All Implemented Interfaces:
org.apache.commons.logging.Log

public class AntLog
extends SimpleLog
implements org.apache.commons.logging.Log

Author:
Christophe Labouisse

Field Summary
 
Fields inherited from class net.ggtools.grand.log.SimpleLog
LEVEL_ALL, LEVEL_DEBUG, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_NAMES, LEVEL_NONE, LEVEL_TRACE, LEVEL_WARN
 
Constructor Summary
AntLog()
          Package only instanciation.
 
Method Summary
protected  void log(java.lang.Object message, java.lang.Throwable t, int level)
           
static void setCurrentProject(org.apache.tools.ant.Project newProject)
           
static void setCurrentTask(org.apache.tools.ant.Task newTask)
           
 
Methods inherited from class net.ggtools.grand.log.SimpleLog
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, log, trace, trace, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.logging.Log
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, warn, warn
 

Constructor Detail

AntLog

AntLog()
Package only instanciation.

Method Detail

setCurrentProject

public static void setCurrentProject(org.apache.tools.ant.Project newProject)

setCurrentTask

public static void setCurrentTask(org.apache.tools.ant.Task newTask)

log

protected void log(java.lang.Object message,
                   java.lang.Throwable t,
                   int level)
Overrides:
log in class SimpleLog


Copyright © 2004-2005 ggTools. All Rights Reserved.