org.apache.tools.ant.listener

Class TimestampedLogger

public class TimestampedLogger extends DefaultLogger

Like a normal logger, except with timed outputs
Field Summary
static StringSPACER
what appears between the old message and the new
Method Summary
protected StringgetBuildFailedMessage()
This is an override point: the message that indicates whether a build failed.
protected StringgetBuildSuccessfulMessage()
This is an override point: the message that indicates that a build succeeded.

Field Detail

SPACER

public static final String SPACER
what appears between the old message and the new

Method Detail

getBuildFailedMessage

protected String getBuildFailedMessage()
This is an override point: the message that indicates whether a build failed. Subclasses can change/enhance the message.

Returns: The classic "BUILD FAILED" plus a timestamp

getBuildSuccessfulMessage

protected String getBuildSuccessfulMessage()
This is an override point: the message that indicates that a build succeeded. Subclasses can change/enhance the message.

Returns: The classic "BUILD SUCCESSFUL" plus a timestamp