/**
  * {@inheritdoc}
  */
 public function handle(array $record)
 {
     if ($record['channel'] != 'twitter_data') {
         return false;
     }
     return parent::handle($record);
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function handle(array $record)
 {
     // we have to update the logging level each time because the verbosity of the
     // console output might have changed in the meantime (it is not immutable)
     return $this->updateLevel() && parent::handle($record);
 }
예제 #3
0
 public function handle(array $record) : bool
 {
     if ($this->options['enabled'] && $this->connector->isActiveClient()) {
         return parent::handle($record);
     }
     return !$this->bubble;
 }