Package org.apache.tools.ant.listener
Class SilentLogger
java.lang.Object
org.apache.tools.ant.DefaultLogger
org.apache.tools.ant.listener.SilentLogger
- All Implemented Interfaces:
- EventListener,- BuildListener,- BuildLogger
A logger which logs nothing but build failure and what task might output
- Since:
- 1.9.0
- 
Field SummaryFields inherited from class org.apache.tools.ant.DefaultLoggeremacsMode, err, LEFT_COLUMN_SIZE, lSep, msgOutputLevel, out
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbuildFinished(BuildEvent event) Prints whether the build succeeded or failed, any errors the occurred during the build, and how long the build took.voidbuildStarted(BuildEvent event) Responds to a build being started by just remembering the current time.voidtargetFinished(BuildEvent event) No-op implementation.voidtargetStarted(BuildEvent event) Logs a message to say that the target has started if this logger allows information-level messages.voidtaskFinished(BuildEvent event) No-op implementation.voidtaskStarted(BuildEvent event) No-op implementation.Methods inherited from class org.apache.tools.ant.DefaultLoggerextractProjectName, formatTime, getBuildFailedMessage, getBuildSuccessfulMessage, getMessageOutputLevel, getTimestamp, log, messageLogged, printMessage, setEmacsMode, setErrorPrintStream, setMessageOutputLevel, setOutputPrintStream
- 
Constructor Details- 
SilentLoggerpublic SilentLogger()
 
- 
- 
Method Details- 
buildStartedDescription copied from class:DefaultLoggerResponds to a build being started by just remembering the current time.- Specified by:
- buildStartedin interface- BuildListener
- Overrides:
- buildStartedin class- DefaultLogger
- Parameters:
- event- Ignored.
 
- 
buildFinishedDescription copied from class:DefaultLoggerPrints whether the build succeeded or failed, any errors the occurred during the build, and how long the build took.- Specified by:
- buildFinishedin interface- BuildListener
- Overrides:
- buildFinishedin class- DefaultLogger
- Parameters:
- event- An event with any relevant extra information. Must not be- null.
- See Also:
 
- 
targetStartedDescription copied from class:DefaultLoggerLogs a message to say that the target has started if this logger allows information-level messages.- Specified by:
- targetStartedin interface- BuildListener
- Overrides:
- targetStartedin class- DefaultLogger
- Parameters:
- event- An event with any relevant extra information. Must not be- null.
- See Also:
 
- 
targetFinishedDescription copied from class:DefaultLoggerNo-op implementation.- Specified by:
- targetFinishedin interface- BuildListener
- Overrides:
- targetFinishedin class- DefaultLogger
- Parameters:
- event- Ignored.
- See Also:
 
- 
taskStartedDescription copied from class:DefaultLoggerNo-op implementation.- Specified by:
- taskStartedin interface- BuildListener
- Overrides:
- taskStartedin class- DefaultLogger
- Parameters:
- event- Ignored.
- See Also:
 
- 
taskFinishedDescription copied from class:DefaultLoggerNo-op implementation.- Specified by:
- taskFinishedin interface- BuildListener
- Overrides:
- taskFinishedin class- DefaultLogger
- Parameters:
- event- Ignored.
- See Also:
 
 
-