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: 63733db47089bd288aa4d5aacaa47de012b20eb4 $ |
__construct()
buildFinished(\BuildEvent $event)
formatTime( $micros) : string
string
getBuildFailedMessage() : string
string
The classic "BUILD FAILED"
getBuildSuccessfulMessage() : string
string
The classic "BUILD FINISHED"
getValue(array $properties, string $name, mixed $defaultValue) : mixed
throws |
---|
array
string
mixed
mixed
printMessage(string $message, \OutputStream|resource $stream, integer $priority) : void
throws |
---|
string
The message to print.
Should not be null
.
integer
The priority of the message. (Ignored in this implementation.)
setEmacsMode(boolean $emacsMode)
boolean
true
if output is to be unadorned so that
emacs and other editors can parse files names, etc.
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)
taskFinished(\BuildEvent $event)
throwableMessage( &$msg, $error, $verbose)
LEFT_COLUMN_SIZE
var |
---|
mailMessage :
from :
tolist :
msgOutputLevel : integer
var |
---|
integer
startTime : integer
var |
---|
integer
out : \OutputStream
err : \OutputStream
emacsMode :