public function outputDebug($front, $caller, $msg, $shift = 0)
{
// first, let's see if we should log this
$frame = $this->findFrame('debug');
if ($this->log_output) {
$this->logLine($this->txtLine("info: {$msg}", $frame), 'fatal', 'debug');
}
if (!$this->web_output) {
return true;
} else {
$this->debug_added = true;
$this->debug_log .= $this->html_stdout ? $this->htmlLine("{$msg}", $frame, 'debug') : $this->txtLine("{$msg}", $frame, 'debug');
return true;
}
}