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 andi@binarycloud.com |
---|---|
copyright |
2001,2002 THYRELL. All rights reserved |
version |
$Id: 447177e89a70b960dac284e3fd2fd9b891e031e8 $ |
package |
phing.listener |
__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
targetName :
msgOutputLevel :
@var int
startTime :
@var int
out : \OutputStream
err : \OutputStream