org.apache.tools.ant.utilClass TaskLogger
- java.lang.Object
- org.apache.tools.ant.util.TaskLogger
public final class TaskLogger extends java.lang.Object
A facade that makes logging nicer to use.
Constructor Summary
Constructors Constructor and Description TaskLogger(Task task)
Constructor for the TaskLogger
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
debug(java.lang.String message)
Log a message withMSG_DEBUG
priorityvoid
error(java.lang.String message)
Log a message withMSG_ERR
priorityvoid
info(java.lang.String message)
Log a message withMSG_INFO
priorityvoid
verbose(java.lang.String message)
Log a message withMSG_VERBOSE
priorityvoid
warning(java.lang.String message)
Log a message withMSG_WARN
priority
Constructor Detail
TaskLogger
public TaskLogger(Task task)Constructor for the TaskLogger
- Parameters:
task
- the task
Method Detail
info
public void info(java.lang.String message)Log a message withMSG_INFO
priority
- Parameters:
message
- the message to log
error
public void error(java.lang.String message)Log a message withMSG_ERR
priority
- Parameters:
message
- the message to log
warning
public void warning(java.lang.String message)Log a message withMSG_WARN
priority
- Parameters:
message
- the message to log
verbose
public void verbose(java.lang.String message)Log a message withMSG_VERBOSE
priority
- Parameters:
message
- the message to log
debug
public void debug(java.lang.String message)Log a message withMSG_DEBUG
priority
- Parameters:
message
- the message to log