diff --git a/src/main/org/apache/tools/ant/Project.java b/src/main/org/apache/tools/ant/Project.java
index 01d9ea562..a55726202 100644
--- a/src/main/org/apache/tools/ant/Project.java
+++ b/src/main/org/apache/tools/ant/Project.java
@@ -433,6 +433,7 @@ public class Project implements ResourceFactory {
* @param message The text to log. Should not be null
.
* @param throwable The exception causing this log, may be null
.
* @param msgLevel The log priority level to use.
+ * @since 1.7
*/
public void log(String message, Throwable throwable, int msgLevel) {
fireMessageLogged(this, message, throwable, msgLevel);
@@ -454,6 +455,7 @@ public class Project implements ResourceFactory {
* @param message The text to log. Should not be null
.
* @param throwable The exception causing this log, may be null
.
* @param msgLevel The log priority level to use.
+ * @since 1.7
*/
public void log(Task task, String message, Throwable throwable, int msgLevel) {
fireMessageLogged(task, message, throwable, msgLevel);
@@ -477,6 +479,7 @@ public class Project implements ResourceFactory {
* @param message The text to log. Should not be null
.
* @param throwable The exception causing this log, may be null
.
* @param msgLevel The log priority level to use.
+ * @since 1.7
*/
public void log(Target target, String message, Throwable throwable,
int msgLevel) {
@@ -2196,6 +2199,7 @@ public class Project implements ResourceFactory {
* @param message The message to send. Should not be null
.
* @param throwable The exception that caused this message. May be null
.
* @param priority The priority of the message.
+ * @since 1.7
*/
protected void fireMessageLogged(Project project, String message,
Throwable throwable, int priority) {
@@ -2227,6 +2231,7 @@ public class Project implements ResourceFactory {
* @param message The message to send. Should not be null
.
* @param throwable The exception that caused this message. May be null
.
* @param priority The priority of the message.
+ * @since 1.7
*/
protected void fireMessageLogged(Target target, String message,
Throwable throwable, int priority) {
@@ -2257,6 +2262,7 @@ public class Project implements ResourceFactory {
* @param message The message to send. Should not be null
.
* @param throwable The exception that caused this message. May be null
.
* @param priority The priority of the message.
+ * @since 1.7
*/
protected void fireMessageLogged(Task task, String message,
Throwable throwable, int priority) {
diff --git a/src/main/org/apache/tools/ant/Task.java b/src/main/org/apache/tools/ant/Task.java
index 4a666cfc1..9baccb087 100644
--- a/src/main/org/apache/tools/ant/Task.java
+++ b/src/main/org/apache/tools/ant/Task.java
@@ -334,6 +334,7 @@ public abstract class Task extends ProjectComponent {
* @param t The exception to be logged. Should not be null
.
* @param msgLevel The message priority at which this message is to
* be logged.
+ * @since 1.7
*/
public void log(Throwable t, int msgLevel) {
if(t != null)
@@ -350,6 +351,7 @@ public abstract class Task extends ProjectComponent {
* @param t The exception to be logged. May be null
.
* @param msgLevel The message priority at which this message is to
* be logged.
+ * @since 1.7
*/
public void log(String msg, Throwable t, int msgLevel) {
if (getProject() != null) {