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 |
---|---|
package | phing.listener |
version | $Id$ |
copyright | 2001,2002 THYRELL. All rights reserved |
__construct()
buildFinished(\BuildEvent $event)
Also outputs the total build-time.
see | \global\DefaultLogger#buildFinished |
---|
\BuildEvent
buildStarted(\BuildEvent $event)
Used for calculating the build-time.
inherited_from | \DefaultLogger::buildStarted() |
---|
object
The BuildEvent @access public
formatTime($micros)
@param integer The time stamp
access | private |
---|---|
inherited_from | \DefaultLogger::formatTime() |
setErrorStream(\OutputStream $err)
see | \global\BuildLogger#setErrorStream() |
---|---|
inherited_from | \DefaultLogger::setErrorStream() |
\OutputStream
setMessageOutputLevel(int $level)
Only messages with a message level lower than or equal to the given level are output to the log.
<
p> Constants for the message levels are in Project.php. The order of the levels, from least to most verbose, is:
The default message level for DefaultLogger is Project::MSG_ERR.
see | \global\BuildLogger#setMessageOutputLevel() |
---|---|
inherited_from | \DefaultLogger::setMessageOutputLevel() |
int
The logging level for the logger.
setOutputStream(\OutputStream $output)
see | \global\BuildLogger#setOutputStream() |
---|---|
inherited_from | \DefaultLogger::setOutputStream() |
\OutputStream
targetFinished(\BuildEvent $event)
We don't need specific action on this event. So the methods are empty.
inherited_from | \DefaultLogger::targetFinished() |
---|
object
The BuildEvent @see BuildEvent::getException()
taskFinished(\BuildEvent $event)
We don't need specific action on this event. So the methods are empty.
inherited_from | \DefaultLogger::taskFinished() |
---|
object
The BuildEvent @access public @see BuildEvent::getException()
taskStarted(\BuildEvent $event)
We don't need specific action on this event. So the methods are empty.
inherited_from | \DefaultLogger::taskStarted() |
---|
object
The BuildEvent @access public @see BuildEvent::getTask()
getBuildFailedMessage() : string
inherited_from | \DefaultLogger::getBuildFailedMessage() |
---|
string
The classic "BUILD FAILED"getBuildSuccessfulMessage() : string
inherited_from | \DefaultLogger::getBuildSuccessfulMessage() |
---|
string
The classic "BUILD FINISHED"printMessage(string $message, \OutputStream $stream, int $priority) : void
see | \global\DefaultLogger#printMessage |
---|
string
\OutputStream
int
$msgOutputLevel : int
The default is
Project::MSG_VERBOSE
.
inherited_from | \DefaultLogger::$$msgOutputLevel |
---|
$out : \OutputStream
inherited_from | \DefaultLogger::$$out |
---|
$startTime
@var int
inherited_from | \DefaultLogger::$$startTime |
---|
$_from
$_mailMessage
$_subject
$_tolist
LEFT_COLUMN_SIZE : int
The default char width is 12.
inherited_from | \DefaultLogger::LEFT_COLUMN_SIZE |
---|