48 $this->_ident = $ident;
61 $this->_opened =
true;
62 foreach ($this->_children as $id => $child) {
63 $this->_opened &= $this->_children[$id]->open();
81 foreach ($this->_children as $id => $child) {
82 $closed &= $this->_children[$id]->close();
86 $this->_opened =
false;
105 foreach ($this->_children as $id => $child) {
106 $flushed &= $this->_children[$id]->flush();
130 function log($message, $priority = null)
133 if ($priority === null) {
143 if (!$this->_opened) {
149 foreach ($this->_children as $id => $child) {
150 $success &= $this->_children[$id]->log($message, $priority);
153 $this->
_announce(array(
'priority' => $priority,
'message' => $message));
185 foreach ($this->_children as $id => $child) {
186 $this->_children[$id]->setIdent($ident);
202 if (!is_a($child,
'Log')) {
206 $this->_children[$child->_id] = &$child;
222 if (!is_a($child,
'Log') || !isset($this->_children[$child->_id])) {
226 unset($this->_children[$child->_id]);