org.apache.tools.ant.listener
Class TimestampedLogger
- BuildListener, BuildLogger, EventListener
public class TimestampedLogger
Like a normal logger, except with timed outputs
protected String | getBuildFailedMessage()- This is an override point: the message that indicates whether a build failed.
|
protected String | getBuildSuccessfulMessage()- This is an override point: the message that indicates that a build succeeded.
|
protected String | getTimestamp()- Get the current time.
|
buildFinished, buildStarted, formatTime, getBuildFailedMessage, getBuildSuccessfulMessage, log, messageLogged, printMessage, setEmacsMode, setErrorPrintStream, setMessageOutputLevel, setOutputPrintStream, targetFinished, targetStarted, taskFinished, taskStarted |
getBuildFailedMessage
protected String getBuildFailedMessage()
This is an override point: the message that indicates whether a build failed.
Subclasses can change/enhance the message.
- getBuildFailedMessage in interface DefaultLogger
- The classic "BUILD FAILED"
getBuildSuccessfulMessage
protected String getBuildSuccessfulMessage()
This is an override point: the message that indicates that a build succeeded.
Subclasses can change/enhance the message.
- getBuildSuccessfulMessage in interface DefaultLogger
- The classic "BUILD SUCCESSFUL"
getTimestamp
protected String getTimestamp()
Get the current time.
- the current time as a formatted string.