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:
EventListener
,BuildListener
,BuildLogger
This is a special logger that is designed to profile builds.
- Since:
- Ant1.8
-
Field Summary
Fields inherited from class org.apache.tools.ant.DefaultLogger
emacsMode, err, LEFT_COLUMN_SIZE, lSep, msgOutputLevel, out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
targetFinished
(BuildEvent event) Logs a message to say that the target has finished.void
targetStarted
(BuildEvent event) Logs a message to say that the target has started.void
taskFinished
(BuildEvent event) Logs a message to say that the task has finished.void
taskStarted
(BuildEvent event) Logs a message to say that the task has started.Methods inherited from class org.apache.tools.ant.DefaultLogger
buildFinished, buildStarted, extractProjectName, formatTime, getBuildFailedMessage, getBuildSuccessfulMessage, getMessageOutputLevel, getTimestamp, log, messageLogged, printMessage, setEmacsMode, setErrorPrintStream, setMessageOutputLevel, setOutputPrintStream
-
Constructor Details
-
ProfileLogger
public ProfileLogger()
-
-
Method Details
-
targetStarted
Logs a message to say that the target has started.- Specified by:
targetStarted
in interfaceBuildListener
- Overrides:
targetStarted
in classDefaultLogger
- Parameters:
event
- An event with any relevant extra information. Must not benull
.- See Also:
-
targetFinished
Logs a message to say that the target has finished.- Specified by:
targetFinished
in interfaceBuildListener
- Overrides:
targetFinished
in classDefaultLogger
- Parameters:
event
- An event with any relevant extra information. Must not benull
.- See Also:
-
taskStarted
Logs a message to say that the task has started.- Specified by:
taskStarted
in interfaceBuildListener
- Overrides:
taskStarted
in classDefaultLogger
- Parameters:
event
- An event with any relevant extra information. Must not benull
.- See Also:
-
taskFinished
Logs a message to say that the task has finished.- Specified by:
taskFinished
in interfaceBuildListener
- Overrides:
taskFinished
in classDefaultLogger
- Parameters:
event
- An event with any relevant extra information. Must not benull
.- See Also:
-