src/Debug/Output/Base.php
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']);
        }
    }
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']);
        }
    }
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