Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added event debug logs. #1040

Merged
merged 2 commits into from
Mar 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions classes/phing/Project.php
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,8 @@ public function fireBuildStarted()
foreach ($this->listeners as $listener) {
$listener->buildStarted($event);
}

$this->log((string) $event, Project::MSG_DEBUG);
}

/**
Expand All @@ -1093,6 +1095,8 @@ public function fireBuildFinished($exception)
foreach ($this->listeners as $listener) {
$listener->buildFinished($event);
}

$this->log((string) $event, Project::MSG_DEBUG);
}

/**
Expand All @@ -1104,6 +1108,8 @@ public function fireTargetStarted($target)
foreach ($this->listeners as $listener) {
$listener->targetStarted($event);
}

$this->log((string) $event, Project::MSG_DEBUG);
}

/**
Expand All @@ -1117,6 +1123,8 @@ public function fireTargetFinished($target, $exception)
foreach ($this->listeners as $listener) {
$listener->targetFinished($event);
}

$this->log((string) $event, Project::MSG_DEBUG);
}

/**
Expand All @@ -1128,6 +1136,8 @@ public function fireTaskStarted($task)
foreach ($this->listeners as $listener) {
$listener->taskStarted($event);
}

$this->log((string) $event, Project::MSG_DEBUG);
}

/**
Expand All @@ -1141,6 +1151,8 @@ public function fireTaskFinished($task, $exception)
foreach ($this->listeners as $listener) {
$listener->taskFinished($event);
}

$this->log((string) $event, Project::MSG_DEBUG);
}

/**
Expand Down