code: protected function processLog()
      {
          $str = '';
          foreach ($this->data['log'] as $entry) {
              $channel = isset($entry[2]['channel']) ? $entry[2]['channel'] : null;
              if ($this->channelTest($channel)) {
                  $str .= $this->processLogEntryWEvent($entry[0], $entry[1], $entry[2]);
              }
          }
          return $str;
      }
docs: Process log entries
  
  @return string