phplinter\Linter::debug PHP Method

debug() protected method

----------------------------------------------------------------------+
protected debug ( $out, $depth, $mode = OPT_DEBUG, $smap = false )
$out String
$depth int ----------------------------------------------------------------------+
    protected function debug($out, $depth = 0, $mode = OPT_DEBUG, $smap = false)
    {
        if ($this->config->check($mode)) {
            if ($smap) {
                $tabs = str_pad('', $depth * 2, "|\t");
            } else {
                $tabs = str_pad('', $depth, "\t");
            }
            echo "{$tabs}{$out}\n";
        }
    }