Package org.apache.tools.ant.listener
Class TimestampedLogger
java.lang.Object
org.apache.tools.ant.DefaultLogger
org.apache.tools.ant.listener.TimestampedLogger
- All Implemented Interfaces:
- EventListener,- BuildListener,- BuildLogger
Like a normal logger, except with timed outputs
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringwhat appears between the old message and the newFields inherited from class org.apache.tools.ant.DefaultLoggeremacsMode, err, LEFT_COLUMN_SIZE, lSep, msgOutputLevel, out
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.tools.ant.DefaultLoggerbuildFinished, buildStarted, extractProjectName, formatTime, getMessageOutputLevel, getTimestamp, log, messageLogged, printMessage, setEmacsMode, setErrorPrintStream, setMessageOutputLevel, setOutputPrintStream, targetFinished, targetStarted, taskFinished, taskStarted
- 
Field Details- 
SPACER
 
- 
- 
Constructor Details- 
TimestampedLoggerpublic TimestampedLogger()
 
- 
- 
Method Details- 
getBuildFailedMessageThis is an override point: the message that indicates whether a build failed. Subclasses can change/enhance the message.- Overrides:
- getBuildFailedMessagein class- DefaultLogger
- Returns:
- The classic "BUILD FAILED" plus a timestamp
 
- 
getBuildSuccessfulMessageThis is an override point: the message that indicates that a build succeeded. Subclasses can change/enhance the message.- Overrides:
- getBuildSuccessfulMessagein class- DefaultLogger
- Returns:
- The classic "BUILD SUCCESSFUL" plus a timestamp
 
 
-