Extends DefaultLogger to strip out empty targets.
Currently, it only writes which targets are being executed, and any messages that get logged.
| author | Andreas Aderhold |
|---|---|
| copyright | 2001,2002 THYRELL. All rights reserved |
| version | $Id: 447177e89a70b960dac284e3fd2fd9b891e031e8 $ |
| package | phing.listener |
__construct()
| inherited_from | \DefaultLogger::__construct() |
|---|
buildFinished(\BuildEvent $event)
Also outputs the total build-time.
| inherited_from | \DefaultLogger::buildFinished() |
|---|
objectThe BuildEvent @see BuildEvent::getException()
buildStarted(\BuildEvent $event)
Used for calculating the build-time.
| inherited_from | \DefaultLogger::buildStarted() |
|---|
objectThe BuildEvent @access public
formatTime($micros)
@param integer The time stamp
| access | private |
|---|---|
| inherited_from | \DefaultLogger::formatTime() |
setErrorStream(\OutputStream $err)
| see | \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 | \BuildLogger#setMessageOutputLevel() |
|---|---|
| inherited_from | \DefaultLogger::setMessageOutputLevel() |
intThe logging level for the logger.
setOutputStream(\OutputStream $output)
| see | \BuildLogger#setOutputStream() |
|---|---|
| inherited_from | \DefaultLogger::setOutputStream() |
\OutputStream
targetFinished(\BuildEvent $event)
We don't need specific action on this event. So the methods are empty.
objectThe BuildEvent @see BuildEvent::getException()
targetStarted(\BuildEvent $event)
taskFinished(\BuildEvent $event)
We don't need specific action on this event. So the methods are empty.
| inherited_from | \DefaultLogger::taskFinished() |
|---|
objectThe 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() |
|---|
objectThe BuildEvent @access public @see BuildEvent::getTask()
getBuildFailedMessage() : string
| inherited_from | \DefaultLogger::getBuildFailedMessage() |
|---|
stringThe classic "BUILD FAILED"getBuildSuccessfulMessage() : string
| inherited_from | \DefaultLogger::getBuildSuccessfulMessage() |
|---|
stringThe classic "BUILD FINISHED"printMessage(string $message, \OutputStream $stream, int $priority) : void
| inherited_from | \DefaultLogger::printMessage() |
|---|
stringThe message to print.
Should not be null.
resourceThe stream to use for message printing.
intThe priority of the message. (Ignored in this implementation.)
$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 |
|---|
$targetName
LEFT_COLUMN_SIZE : int
The default char width is 12.
| inherited_from | \DefaultLogger::LEFT_COLUMN_SIZE |
|---|