phing -f build.xml -logger phing.listener.PearLogger -Dpear.log.type=file -Dpear.log.name=/path/to/log.log
Show file
Open project: vjousse/symfony-1.4
Property | Type | Description | |
---|---|---|---|
$levelMap | array | Maps Phing Project::MSG_* constants to PEAR_LOG_* constants. | |
$logConfigured | boolean | Whether logging has been configured. | |
$logger | PEAR Log object. | ||
$startTime | integer | @var int |
Method | Description | |
---|---|---|
buildFinished ( BuildEvent $event ) | Logs whether the build succeeded or failed, and any errors that occured during the build. Also outputs the total build-time. | |
buildStarted ( BuildEvent $event ) | Sets the start-time when the build started. Used for calculating the build-time. | |
messageLogged ( BuildEvent $event ) | Logs a message to the configured PEAR logger. | |
targetFinished ( BuildEvent $event ) | Fired when a target has finished. We don't need specific action on this event. So the methods are empty. | |
targetStarted ( BuildEvent $event ) | Logs the current target name | |
taskFinished ( BuildEvent $event ) | Fired when a task has finished. We don't need specific action on this event. So the methods are empty. | |
taskStarted ( BuildEvent $event ) | Fired when a task is started. We don't need specific action on this event. So the methods are empty. |
Method | Description | |
---|---|---|
configureLogging ( ) | Configure the logger. | |
logger ( ) : Log | Get the configured PEAR logger to use. |
public buildFinished ( BuildEvent $event ) | ||
$event | BuildEvent |
public buildStarted ( BuildEvent $event ) | ||
$event | BuildEvent |
protected logger ( ) : Log | ||
return | Log |
public messageLogged ( BuildEvent $event ) | ||
$event | BuildEvent |
public targetFinished ( BuildEvent $event ) | ||
$event | BuildEvent |
public targetStarted ( BuildEvent $event ) | ||
$event | BuildEvent |
public taskFinished ( BuildEvent $event ) | ||
$event | BuildEvent |
public taskStarted ( BuildEvent $event ) | ||
$event | BuildEvent |
protected static array $levelMap | ||
return | array |
protected bool $logConfigured | ||
return | boolean |