Top Description Fields Constructors Methods
org.apache.tools.ant.util

public final Class TaskLogger

extends Object
Class Inheritance
Imports
org.apache.tools.ant.Project, .Task

A facade that makes logging nicer to use.

Field Summary

Modifier and TypeField and Description
private Task
task

Task to use to do logging.

Constructor Summary

AccessConstructor and Description
public
TaskLogger(final Task
the task
task
)

Constructor for the TaskLogger

Method Summary

Modifier and TypeMethod and Description
public void
debug(final String
the message to log
message
)

Log a message with MSG_DEBUG priority

public void
error(final String
the message to log
message
)

Log a message with MSG_ERR priority

public void
info(final String
the message to log
message
)

Log a message with MSG_INFO priority

public void
verbose(final String
the message to log
message
)

Log a message with MSG_VERBOSE priority

public void
warning(final String
the message to log
message
)

Log a message with MSG_WARN priority

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

taskback to summary
private Task task

Task to use to do logging.

Constructor Detail

TaskLoggerback to summary
public TaskLogger(final Task task)

Constructor for the TaskLogger

Parameters
task:Task

the task

Method Detail

debugback to summary
public void debug(final String message)

Log a message with MSG_DEBUG priority

Parameters
message:String

the message to log

errorback to summary
public void error(final String message)

Log a message with MSG_ERR priority

Parameters
message:String

the message to log

infoback to summary
public void info(final String message)

Log a message with MSG_INFO priority

Parameters
message:String

the message to log

verboseback to summary
public void verbose(final String message)

Log a message with MSG_VERBOSE priority

Parameters
message:String

the message to log

warningback to summary
public void warning(final String message)

Log a message with MSG_WARN priority

Parameters
message:String

the message to log