|
@@ -361,6 +361,7 @@ class Zend_Log
|
|
|
*/
|
|
*/
|
|
|
public function __destruct()
|
|
public function __destruct()
|
|
|
{
|
|
{
|
|
|
|
|
+ /** @var Zend_Log_Writer_Abstract $writer */
|
|
|
foreach($this->_writers as $writer) {
|
|
foreach($this->_writers as $writer) {
|
|
|
$writer->shutdown();
|
|
$writer->shutdown();
|
|
|
}
|
|
}
|
|
@@ -450,6 +451,7 @@ class Zend_Log
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// abort if rejected by the global filters
|
|
// abort if rejected by the global filters
|
|
|
|
|
+ /** @var Zend_Log_Filter_Interface $filter */
|
|
|
foreach ($this->_filters as $filter) {
|
|
foreach ($this->_filters as $filter) {
|
|
|
if (! $filter->accept($event)) {
|
|
if (! $filter->accept($event)) {
|
|
|
return;
|
|
return;
|
|
@@ -457,6 +459,7 @@ class Zend_Log
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// send to each writer
|
|
// send to each writer
|
|
|
|
|
+ /** @var Zend_Log_Writer_Abstract $writer */
|
|
|
foreach ($this->_writers as $writer) {
|
|
foreach ($this->_writers as $writer) {
|
|
|
$writer->write($event);
|
|
$writer->write($event);
|
|
|
}
|
|
}
|