Uses PEAR Mail package to send the build log to one or more recipients.
Currently, it only writes which targets are being executed, and any messages that get logged.
author |
Michiel Rook mrook@php.net |
---|---|
package |
phing.listener |
version |
$Id: 737cde901b66cc6297932a927a0bb1646b7aab49 $ |
__construct()
buildFinished(\BuildEvent $event)
buildStarted(\BuildEvent $event)
formatTime( $micros)
@param integer The time stamp
access |
private |
---|---|
getBuildFailedMessage() : string
string
The classic "BUILD FAILED"
getBuildSuccessfulMessage() : string
string
The classic "BUILD FINISHED"
printMessage(string $message, resource $stream, integer $priority) : void
string
The message to print.
Should not be <code>null</code>.
resource
The stream to use for message printing.
integer
The priority of the message.
(Ignored in this implementation.)
setErrorStream(\OutputStream $err)
setMessageOutputLevel(integer $level)
Only messages with a message level lower than or equal to the given level are output to the log.
Constants for the message levels are in Project.php. The order of the levels, from least to most verbose, is:
see | \BuildLogger#setMessageOutputLevel() |
---|---|
integer
The logging level for the logger.
setOutputStream(\OutputStream $output)
targetFinished(\BuildEvent $event)
targetStarted(\BuildEvent $event)
@param object The BuildEvent
access |
public @see BuildEvent::getTarget() |
---|---|
\BuildEvent
taskFinished(\BuildEvent $event)
@param object The BuildEvent
access |
public @see BuildEvent::getException() |
---|---|
\BuildEvent
taskStarted(\BuildEvent $event)
LEFT_COLUMN_SIZE
@var int
_mailMessage :
_from :
_subject :
_tolist :
msgOutputLevel :
@var int
startTime :
@var int
out : \OutputStream
err : \OutputStream