|
|
@@ -402,6 +402,7 @@ class Zend_Log
|
|
|
}
|
|
|
|
|
|
$this->_priorities[$priority] = $name;
|
|
|
+ return $this;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -429,6 +430,7 @@ class Zend_Log
|
|
|
}
|
|
|
|
|
|
$this->_filters[] = $filter;
|
|
|
+ return $this;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -454,6 +456,7 @@ class Zend_Log
|
|
|
}
|
|
|
|
|
|
$this->_writers[] = $writer;
|
|
|
+ return $this;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -463,8 +466,10 @@ class Zend_Log
|
|
|
* @param $value Value of the field
|
|
|
* @return void
|
|
|
*/
|
|
|
- public function setEventItem($name, $value) {
|
|
|
+ public function setEventItem($name, $value)
|
|
|
+ {
|
|
|
$this->_extras = array_merge($this->_extras, array($name => $value));
|
|
|
+ return $this;
|
|
|
}
|
|
|
|
|
|
/**
|