org.apache.tools.ant.util
Class 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.
void | debug(String message) - Log a message with
MSG_DEBUG priority
|
void | error(String message) - Log a message with
MSG_ERR priority
|
void | info(String message) - Log a message with
MSG_INFO priority
|
void | verbose(String message) - Log a message with
MSG_VERBOSE priority
|
void | warning(String message) - Log a message with
MSG_WARN priority
|
TaskLogger
public TaskLogger(Task task)
Constructor for the TaskLogger
debug
public void debug(String message)
Log a message with MSG_DEBUG
priority
message
- the message to log
error
public void error(String message)
Log a message with MSG_ERR
priority
message
- the message to log
info
public void info(String message)
Log a message with MSG_INFO
priority
message
- the message to log
verbose
public void verbose(String message)
Log a message with MSG_VERBOSE
priority
message
- the message to log
warning
public void warning(String message)
Log a message with MSG_WARN
priority
message
- the message to log