Horde_ActiveSync_Wbxml_Encoder::_logStartTag PHP Method

_logStartTag() private method

Log the start tag output
private _logStartTag ( string $tag, mixed $attr, boolean $output_empty ) : void
$tag string
$attr mixed
$output_empty boolean
return void
    private function _logStartTag($tag, $attr, $output_empty)
    {
        $spaces = str_repeat(' ', count($this->_logStack));
        if ($output_empty) {
            $this->_logger->debug(sprintf('[%s] O %s <%s/>', $this->_procid, $spaces, $tag));
        } else {
            $this->_logStack[] = $tag;
            $this->_logger->debug(sprintf('[%s] O %s <%s>', $this->_procid, $spaces, $tag));
        }
    }