org.apache.tools.ant
Class DefaultLogger
java.lang.Object
|
+--org.apache.tools.ant.DefaultLogger
- public class DefaultLogger
- extends java.lang.Object
- implements BuildListener
Writes build event to a PrintStream. Currently, it
only writes which targets are being executed, and
any messages that get logged.
Constructor Summary |
DefaultLogger(java.io.PrintStream out,
int msgOutputLevel)
Constructs a new logger which will write to the specified
PrintStream. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DefaultLogger
public DefaultLogger(java.io.PrintStream out,
int msgOutputLevel)
- Constructs a new logger which will write to the specified
PrintStream. Messages with a priority lower (higher?) than
msgOutputLevel will be ignored.
buildStarted
public void buildStarted(BuildEvent event)
- Specified by:
- buildStarted in interface BuildListener
buildFinished
public void buildFinished(BuildEvent event)
- Specified by:
- buildFinished in interface BuildListener
targetStarted
public void targetStarted(BuildEvent event)
- Specified by:
- targetStarted in interface BuildListener
targetFinished
public void targetFinished(BuildEvent event)
- Specified by:
- targetFinished in interface BuildListener
taskStarted
public void taskStarted(BuildEvent event)
- Specified by:
- taskStarted in interface BuildListener
taskFinished
public void taskFinished(BuildEvent event)
- Specified by:
- taskFinished in interface BuildListener
messageLogged
public void messageLogged(BuildEvent event)
- Specified by:
- messageLogged in interface BuildListener
Copyright © 2000 Apache Software Foundation. All Rights Reserved.