예제 #1
0
파일: File.php 프로젝트: erebot/plop
 protected function emit(\Plop\RecordInterface $record)
 {
     if (!$this->stream) {
         $this->stream = $this->open();
     }
     parent::emit($record);
 }
예제 #2
0
파일: Stream.php 프로젝트: erebot/plop
 public function emitStub(\Plop\RecordInterface $record)
 {
     return parent::emit($record);
 }