示例#1
0
 /**
  * {@inheritdoc}
  *
  * @param array $record
  */
 protected function write(array $record)
 {
     parent::write($record);
     $this->closeSocket();
 }
示例#2
0
 protected function write(array $record)
 {
     foreach ($this->users as $user) {
         $this->user = $user;
         parent::write($record);
         $this->closeSocket();
     }
     $this->user = null;
 }