Package org.codehaus.cargo.ant
Class AntLogger
- java.lang.Object
-
- org.codehaus.cargo.util.internal.log.AbstractLogger
-
- org.codehaus.cargo.ant.AntLogger
-
- All Implemented Interfaces:
Logger
public class AntLogger extends AbstractLogger
Logger implementation that logs to Ant.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doLog(LogLevel level, String message, String category)
Common method for all severity levels.
-
-
-
Constructor Detail
-
AntLogger
public AntLogger(org.apache.tools.ant.Task task)
Constructor.- Parameters:
task
- The Ant task
-
AntLogger
public AntLogger(org.apache.tools.ant.Target target)
Constructor.- Parameters:
target
- The current target
-
AntLogger
public AntLogger(org.apache.tools.ant.Project project)
Constructor.- Parameters:
project
- The Ant project
-
-
Method Detail
-
doLog
protected void doLog(LogLevel level, String message, String category)
Common method for all severity levels.- Specified by:
doLog
in classAbstractLogger
- Parameters:
level
- the log level (aka severity) of the messagemessage
- the message to logcategory
- the log category
-
-