org.apache.tools.ant.listener
public class CommonsLoggingListener extends Object implements BuildListener, BuildLogger
Since: Ant 1.5
Field Summary | |
---|---|
static String | PROJECT_LOG
name of the category under which project events are logged |
static String | TARGET_LOG
name of the category under which target events are logged |
Constructor Summary | |
---|---|
CommonsLoggingListener()
Construct the listener and make sure that a LogFactory
can be obtained. |
Method Summary | |
---|---|
void | buildFinished(BuildEvent event) {@inheritDoc}. |
void | buildStarted(BuildEvent event) {@inheritDoc}. |
void | messageLogged(BuildEvent event) {@inheritDoc}. |
void | setEmacsMode(boolean emacsMode)
Set emacs mode.
|
void | setErrorPrintStream(PrintStream err)
Set the error print stream. |
void | setMessageOutputLevel(int level)
Set the the output level.
|
void | setOutputPrintStream(PrintStream output)
Set the output print stream. |
void | targetFinished(BuildEvent event) {@inheritDoc}. |
void | targetStarted(BuildEvent event) {@inheritDoc}. |
void | taskFinished(BuildEvent event) {@inheritDoc}. |
void | taskStarted(BuildEvent event) {@inheritDoc}. |
Parameters: emacsMode ignored
Parameters: err the error stream
Parameters: level ignored
Parameters: output the output stream