|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used by Ant to log the build output. A build logger is a build listener which has the 'right' to send output to the ant log, which is usually System.out unles redirected by the -logfile option.
Method Summary | |
void |
setEmacsMode(boolean emacsMode)
Set this logger to produce emacs (and other editor) friendly output. |
void |
setErrorPrintStream(java.io.PrintStream err)
Set the output stream to which this logger is to send error messages. |
void |
setMessageOutputLevel(int level)
Set the msgOutputLevel this logger is to respond to. |
void |
setOutputPrintStream(java.io.PrintStream output)
Set the output stream to which this logger is to send its output. |
Methods inherited from interface org.apache.tools.ant.BuildListener |
buildFinished, buildStarted, messageLogged, targetFinished, targetStarted, taskFinished, taskStarted |
Method Detail |
public void setMessageOutputLevel(int level)
Constants for the message levels are in Project.java. The order of the levels, from least to most verbose, is MSG_ERR, MSG_WARN, MSG_INFO, MSG_VERBOSE, MSG_DEBUG.
level
- the logging level for the logger.public void setOutputPrintStream(java.io.PrintStream output)
output
- the output stream for the logger.public void setEmacsMode(boolean emacsMode)
emacsMode
- true if output is to be unadorned so that emacs and other
editors can parse files names, etc.public void setErrorPrintStream(java.io.PrintStream err)
err
- the error stream for the logger.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |