Interface for build loggers.
Build loggers are build listeners but with some additional functionality: - They can be configured with a log level (below which they will ignore messages) - They have error and output streams
Classes that implement a listener must implement this interface.
author |
Hans Lellelid hans@xmpl.org |
---|---|
version |
$Id$ |
see | |
see | |
package |
phing |
setMessageOutputLevel(int $level)
Messages below this level are ignored.
Constants for the message levels are in Project.php. The order of the levels, from least to most verbose, is: - Project::MSG_ERR - Project::MSG_WARN - Project::MSG_INFO - Project::MSG_VERBOSE - Project::MSG_DEBUG
int
The log level integer (e.g. Project::MSG_VERBOSE, etc.).
setOutputStream(\OutputStream $output)
setErrorStream(\OutputStream $err)
buildStarted(\BuildEvent $event)
buildFinished(\BuildEvent $event)
targetStarted(\BuildEvent $event)
targetFinished(\BuildEvent $event)
taskStarted(\BuildEvent $event)
taskFinished(\BuildEvent $event)