public function processLogEntry($method, $args = array(), $meta = array())
    {
        $str = '';
        if (!\in_array($meta['channel'], $this->channels) && $meta['channel'] !== 'phpError') {
            $this->channels[] = $meta['channel'];
        }
        if ($meta['channel'] === $this->channelNameRoot) {
            $meta['channel'] = null;
        }
        if ($method == 'alert') {
            $str = $this->methodAlert($args, $meta);
        } elseif (\in_array($method, array('group', 'groupCollapsed', 'groupEnd'))) {
            $str = $this->buildGroupMethod($method, $args, $meta);
        } elseif (\in_array($method, array('profileEnd','table','trace'))) {
            $meta = \array_merge(array(
                'caption' => null,
                'columns' => array(),
                'sortable' => false,
                'totalCols' => array(),
            ), $meta);
            $asTable = \is_array($args[0]) && $args[0];
            if (!$asTable && $meta['caption']) {
                \array_unshift($args, $meta['caption']);
            }
            $str = $this->debug->utilities->buildTag(
                'div',
                array(
                    'class' => 'm_'.$method,
                    'data-channel' => $meta['channel'],
                ),
                $asTable
                    ? "\n"
                        .$this->buildTable(
                            $args[0],
                            array(
                                'attribs' => array(
                                    'class' => array(
                                        'table-bordered',
                                        $meta['sortable'] ? 'sortable' : null,
                                    ),
                                ),
                                'caption' => $meta['caption'],
                                'columns' => $meta['columns'],
                                'totalCols' => $meta['totalCols'],
                            )
                        )."\n"
                    : $this->buildArgString($args)
            );
        } else {
            $sanitize = isset($meta['sanitize'])
                ? $meta['sanitize']
                : true;
            $attribs = array(
                'class' => 'm_'.$method,
                'data-channel' => $meta['channel'],
                'title' => isset($meta['file'])
                    ? $meta['file'].': line '.$meta['line']
                    : null,
            );
            if (\in_array($method, array('assert','clear','error','info','log','warn'))) {
                if (\in_array($method, array('error','warn'))) {
                    if (isset($meta['errorCat'])) {
                        $attribs['class'] .= ' error-'.$meta['errorCat'];
                    }
                }
                if (\count($args) > 1 && \is_string($args[0])) {
                    $hasSubs = false;
                    $args = $this->processSubstitutions($args, $hasSubs);
                    if ($hasSubs) {
                        $args = array( \implode('', $args) );
                    }
                }
            }
            $str = $this->debug->utilities->buildTag(
                'div',
                $attribs,
                $this->buildArgString($args, $sanitize)
            );
        }
        $str = \str_replace(' data-channel="null"', '', $str);
        $str .= "\n";
        return $str;
    }
public function processLogEntry($method, $args = array(), $meta = array())
    {
        $str = '';
        if (!\in_array($meta['channel'], $this->channels) && $meta['channel'] !== 'phpError') {
            $this->channels[] = $meta['channel'];
        }
        if ($meta['channel'] === $this->channelNameRoot) {
            $meta['channel'] = null;
        }
        if ($method == 'alert') {
            $str = $this->methodAlert($args, $meta);
        } elseif (\in_array($method, array('group', 'groupCollapsed', 'groupEnd'))) {
            $str = $this->buildGroupMethod($method, $args, $meta);
        } elseif (\in_array($method, array('profileEnd','table','trace'))) {
            $meta = \array_merge(array(
                'caption' => null,
                'columns' => array(),
                'sortable' => false,
                'totalCols' => array(),
            ), $meta);
            $asTable = \is_array($args[0]) && $args[0];
            if (!$asTable && $meta['caption']) {
                \array_unshift($args, $meta['caption']);
            }
            $str = $this->debug->utilities->buildTag(
                'div',
                array(
                    'class' => 'm_'.$method,
                    'data-channel' => $meta['channel'],
                ),
                $asTable
                    ? "\n"
                        .$this->buildTable(
                            $args[0],
                            array(
                                'attribs' => array(
                                    'class' => array(
                                        'table-bordered',
                                        $meta['sortable'] ? 'sortable' : null,
                                    ),
                                ),
                                'caption' => $meta['caption'],
                                'columns' => $meta['columns'],
                                'totalCols' => $meta['totalCols'],
                            )
                        )."\n"
                    : $this->buildArgString($args)
            );
        } else {
            $sanitize = isset($meta['sanitize'])
                ? $meta['sanitize']
                : true;
            $attribs = array(
                'class' => 'm_'.$method,
                'data-channel' => $meta['channel'],
                'title' => isset($meta['file'])
                    ? $meta['file'].': line '.$meta['line']
                    : null,
            );
            if (\in_array($method, array('assert','clear','error','info','log','warn'))) {
                if (\in_array($method, array('error','warn'))) {
                    if (isset($meta['errorCat'])) {
                        $attribs['class'] .= ' error-'.$meta['errorCat'];
                    }
                }
                if (\count($args) > 1 && \is_string($args[0])) {
                    $hasSubs = false;
                    $args = $this->processSubstitutions($args, $hasSubs);
                    if ($hasSubs) {
                        $args = array( \implode('', $args) );
                    }
                }
            }
            $str = $this->debug->utilities->buildTag(
                'div',
                $attribs,
                $this->buildArgString($args, $sanitize)
            );
        }
        $str = \str_replace(' data-channel="null"', '', $str);
        $str .= "\n";
        return $str;
    }
Return a log entry as HTML

@param string $method method
@param array  $args   args
@param array  $meta   meta values

@return string|void