code: protected function processLogEntryWEvent($method, $args = array(), $meta = array())
      {
          if (!isset($meta['channel'])) {
              $meta['channel'] = $this->channelNameRoot;
          }
          $event = $this->debug->eventManager->publish(
              'debug.outputLogEntry',
              $this,
              array(
                  'method' => $method,
                  'args' => $args,
                  'meta' => $meta,
                  'return' => null,
              )
          );
          if ($event['return']) {
              return $event['return'];
          }
          if (!$event->isPropagationStopped()) {
              return $this->processLogEntry($event['method'], $event['args'], $event['meta']);
          }
      }
docs: Publish debug.outputLogEntry.
  Return event['return'] if not empty
  Otherwise, propagation not stopped, return result of processLogEntry()
  
  @param string $method method
  @param array  $args   args
  @param array  $meta   meta values
  
  @return mixed