Package 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.
-
Constructor Summary
Constructors Constructor Description TaskLogger(Task task)Constructor for the TaskLogger -
Method Summary
Modifier and Type Method Description voiddebug(java.lang.String message)Log a message withMSG_DEBUGpriorityvoiderror(java.lang.String message)Log a message withMSG_ERRpriorityvoidinfo(java.lang.String message)Log a message withMSG_INFOpriorityvoidverbose(java.lang.String message)Log a message withMSG_VERBOSEpriorityvoidwarning(java.lang.String message)Log a message withMSG_WARNpriority
-
Constructor Details
-
TaskLogger
Constructor for the TaskLogger- Parameters:
task- the task
-
-
Method Details
-
info
public void info(java.lang.String message)Log a message withMSG_INFOpriority- Parameters:
message- the message to log
-
error
public void error(java.lang.String message)Log a message withMSG_ERRpriority- Parameters:
message- the message to log
-
warning
public void warning(java.lang.String message)Log a message withMSG_WARNpriority- Parameters:
message- the message to log
-
verbose
public void verbose(java.lang.String message)Log a message withMSG_VERBOSEpriority- Parameters:
message- the message to log
-
debug
public void debug(java.lang.String message)Log a message withMSG_DEBUGpriority- Parameters:
message- the message to log
-