Package org.apache.tools.ant.listener
Class ProfileLogger
- java.lang.Object
- 
- org.apache.tools.ant.DefaultLogger
- 
- org.apache.tools.ant.listener.ProfileLogger
 
 
- 
- All Implemented Interfaces:
- java.util.EventListener,- BuildListener,- BuildLogger
 
 public class ProfileLogger extends DefaultLogger This is a special logger that is designed to profile builds.- Since:
- Ant1.8
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.tools.ant.DefaultLoggeremacsMode, err, LEFT_COLUMN_SIZE, lSep, msgOutputLevel, out
 
- 
 - 
Constructor SummaryConstructors Constructor Description ProfileLogger()
 - 
Method SummaryModifier and Type Method Description voidtargetFinished(BuildEvent event)Logs a message to say that the target has finished.voidtargetStarted(BuildEvent event)Logs a message to say that the target has started.voidtaskFinished(BuildEvent event)Logs a message to say that the task has finished.voidtaskStarted(BuildEvent event)Logs a message to say that the task has started.- 
Methods inherited from class org.apache.tools.ant.DefaultLoggerbuildFinished, buildStarted, extractProjectName, formatTime, getBuildFailedMessage, getBuildSuccessfulMessage, getTimestamp, log, messageLogged, printMessage, setEmacsMode, setErrorPrintStream, setMessageOutputLevel, setOutputPrintStream
 
- 
 
- 
- 
- 
Method Detail- 
targetStartedpublic void targetStarted(BuildEvent event) Logs a message to say that the target has started.- Specified by:
- targetStartedin interface- BuildListener
- Overrides:
- targetStartedin class- DefaultLogger
- Parameters:
- event- An event with any relevant extra information. Must not be- null.
- See Also:
- BuildEvent.getTarget()
 
 - 
targetFinishedpublic void targetFinished(BuildEvent event) Logs a message to say that the target has finished.- Specified by:
- targetFinishedin interface- BuildListener
- Overrides:
- targetFinishedin class- DefaultLogger
- Parameters:
- event- An event with any relevant extra information. Must not be- null.
- See Also:
- BuildEvent.getException()
 
 - 
taskStartedpublic void taskStarted(BuildEvent event) Logs a message to say that the task has started.- Specified by:
- taskStartedin interface- BuildListener
- Overrides:
- taskStartedin class- DefaultLogger
- Parameters:
- event- An event with any relevant extra information. Must not be- null.
- See Also:
- BuildEvent.getTask()
 
 - 
taskFinishedpublic void taskFinished(BuildEvent event) Logs a message to say that the task has finished.- Specified by:
- taskFinishedin interface- BuildListener
- Overrides:
- taskFinishedin class- DefaultLogger
- Parameters:
- event- An event with any relevant extra information. Must not be- null.
- See Also:
- BuildEvent.getException()
 
 
- 
 
-