Writes build messages to PEAR Log.
By default it will log to file in current directory w/ name 'phing.log'. You can customize this behavior by setting properties: - pear.log.type - pear.log.name - pear.log.ident (note that this class changes ident to project name) - pear.log.conf (note that array values are currently unsupported in Phing property files)
phing -f build.xml -logger phing.listener.PearLogger -Dpear.log.type=file -Dpear.log.name=/path/to/log.log
author | Hans Lellelid |
---|---|
version | $Id$ |
see | \global\BuildEvent |
package | phing.listener |
buildFinished(\BuildEvent $event)
buildStarted(\BuildEvent $event)
targetFinished(\BuildEvent $event)
We don't need specific action on this event. So the methods are empty.
targetStarted(\BuildEvent $event)
taskFinished(\BuildEvent $event)
We don't need specific action on this event. So the methods are empty.
see | \global\BuildEvent::getException() |
---|
taskStarted(\BuildEvent $event)
We don't need specific action on this event. So the methods are empty.
configureLogging()
logger() : \Log
This method just ensures that logging has been configured and returns the configured logger.
\Log
$levelMap : array
$logConfigured : boolean
$logger : \Log
$startTime
@var int
LEFT_COLUMN_SIZE : int
The default char width is 12.