|
|
@@ -188,6 +188,25 @@ public abstract class Task extends ProjectComponent { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* Log a message with the default (INFO) priority. |
|
|
|
* |
|
|
|
* @param the message to be logged. |
|
|
|
*/ |
|
|
|
public void log(String msg) { |
|
|
|
log(msg, Project.MSG_INFO); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* Log a mesage with the give priority. |
|
|
|
* |
|
|
|
* @param the message to be logged. |
|
|
|
* @param msgLevel the message priority at which this message is to be logged. |
|
|
|
*/ |
|
|
|
public void log(String msg, int msgLevel) { |
|
|
|
project.log(this, msg, msgLevel); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* Perform this task |
|
|
|
*/ |
|
|
|